MEDIUM
GHSA-59j6-8g7w-prf7
Moodle exposes hidden grades to students
Quick fix
GHSA-59j6-8g7w-prf7 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.7.3Details
lib/classes/grades_external.php in Moodle 2.7.x before 2.7.3 does not consider the moodle/grade:viewhidden capability before displaying hidden grades, which allows remote authenticated users to obtain sensitive information by leveraging the student role to access the get_grades web service.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-7831[ADVISORY]
- https://github.com/moodle/moodle/commit/3b8876f5ef2b5cde1e9de2599efd03d02bdaf7d8[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=275153[WEB]
- https://web.archive.org/web/20150914064838/http://www.securitytracker.com/id/1031215[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-47766[WEB]
- http://openwall.com/lists/oss-security/2014/11/17/11[WEB]