CRITICAL10.0
GHSA-jp4g-r8c9-3534
Moodle Blind SSRF Risk in /badges/mybackpack.php
Quick fix
GHSA-jp4g-r8c9-3534 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^3.1.16Details
A flaw was found in Moodle versions 3.1 to 3.1.15 and earlier unsupported versions. The mybackpack functionality allowed setting the URL of badges, when it should be restricted to the Mozilla Open Badges backpack URL. This resulted in the possibility of blind SSRF via requests made by the page.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-3809[ADVISORY]
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3809[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=381229#p1536766[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64222[WEB]