MEDIUM
GHSA-c3vx-v4x8-x894
Moodle does not check for the moodle/course:viewhiddencourses capability
Quick fix
GHSA-c3vx-v4x8-x894 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.6.3Details
enrol/index.php in Moodle 2.6.x before 2.6.3 does not check for the moodle/course:viewhiddencourses capability before listing hidden courses, which allows remote attackers to obtain sensitive name and summary information about these courses by leveraging the guest role and visiting a crafted URL.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0217[ADVISORY]
- https://github.com/moodle/moodle/commit/eaea796e70f6630494d3772684604ab6e907f4ac[WEB]
- https://github.com/moodle/moodle/commit/fcf199e7a13e453bfe3855c6946e8357fcbdef92[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=260365[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-45126[WEB]
- http://openwall.com/lists/oss-security/2014/05/19/1[WEB]