Skip to content

Moodle exposes hidden grades to students

Moderate severity GitHub Reviewed Published May 13, 2022 to the GitHub Advisory Database • Updated Jan 24, 2024

Package

composer moodle/moodle (Composer)

Affected versions

>= 2.7.0, < 2.7.3

Patched versions

2.7.3

Description

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.

References

Published by the National Vulnerability Database Nov 24, 2014
Published to the GitHub Advisory Database May 13, 2022
Last updated Jan 24, 2024
Reviewed Jan 24, 2024

Severity

Moderate

Weaknesses

CVE ID

CVE-2014-7831

GHSA ID

GHSA-59j6-8g7w-prf7

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.