Description
Moodle 4.2.0 through 4.5.15, 5.0.0 through 5.0.11, 5.1.0 through 5.1.8, 5.2.0 through 5.2.4, and 5.3.0 contain a missing capability check in the core_grades_get_gradeitems web service that allows enrolled students to view hidden grade items. Authenticated course users can call the AJAX or mobile web service to list hidden grade item ids, names, and categories that the gradebook conceals from them.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Moodle Project moodle
Default version status: unaffected
5.3.0affected5.2.0 to ≤ 5.2.4affected5.1.0 to ≤ 5.1.8affected5.0.0 to ≤ 5.0.11affected4.2.0 to ≤ 4.5.15affected
pkg:github/moodle/moodleReferences
- https://github.com/moodle/moodle/blob/v5.3.0/public/grade/classes/external/get_gradeitems.php#L74-L80 ↗
- https://abraxaslabs.tech/research/moodle-grades-gradeitems ↗
- https://github.com/moodle/moodle ↗
- https://www.vulncheck.com/advisories/moodle-through-5.3.0-5.2.4-5.1.8-5.0.11-and-4.5.15-missing-authorization-via-core-grades-get-gradeitems ↗