CVE-2019-3809
Moodle Blind SSRF Risk in /badges/mybackpack.php
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | moodle/moodle | 3.1.16 |
| ubuntu 18.04-ESM | moodle | 3.0.3+dfsg-0ubuntu1+esm1 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-64222
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3809
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=381229#p1536766
- https://nvd.nist.gov/vuln/detail/CVE-2019-3809
- https://ubuntu.com/security/notices/USN-8805-1
- https://www.cve.org/CVERecord?id=CVE-2019-3809