VDB
Sign up
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.3

Details

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

Packagist/moodle/moodle
Introduced in: 2.7.0Fixed in: 2.7.3
Fixcomposer require moodle/moodle:^2.7.3

References