GitHub Advisory Database
GHSA-hjrj-7wcj-7j3c
Moodle sensitive information disclosure
Details
The (1) core_enrol_get_course_enrolment_methods and (2) enrol_self_get_instance_info web services in Moodle through 2.6.11, 2.7.x before 2.7.12, 2.8.x before 2.8.10, 2.9.x before 2.9.4, and 3.0.x before 3.0.2 do not consider the moodle/course:viewhiddencourses capability, which allows remote authenticated users to obtain sensitive information via a web-service request.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | moodle/moodle | All versions up to and including 2.6.11 |
| Packagist | moodle/moodle | From 2.7.0 before 2.7.12 (fixed in 2.7.12) |
| Packagist | moodle/moodle | From 2.8.0 before 2.8.10 (fixed in 2.8.10) |
| Packagist | moodle/moodle | From 2.9.0 before 2.9.4 (fixed in 2.9.4) |
| Packagist | moodle/moodle | From 3.0.0 before 3.0.2 (fixed in 3.0.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-0724
- https://github.com/moodle/moodle/commit/4323a973d57a41e19e039a850ad71ebcabae73c1
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=326205
- https://web.archive.org/web/20210622172957/http://www.securitytracker.com/id/1034694
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-52072
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176502.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176436.html
- http://www.openwall.com/lists/oss-security/2016/01/18/1