VDB
Sign up
MEDIUM4.3

GHSA-32hg-73hp-vwc8

Moodle allows attackers to modify "Exclude grade" settings

Quick fix

GHSA-32hg-73hp-vwc8 — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.8.11

Details

The grade-reporting feature in Singleview (aka Single View) in Moodle 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 does not consider the moodle/grade:manage capability, which allows remote authenticated users to modify "Exclude grade" settings by leveraging the Non-Editing Instructor role.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.11
Fixcomposer require moodle/moodle:^2.8.11
Packagist/moodle/moodle
Introduced in: 2.9.0Fixed in: 2.9.5
Fixcomposer require moodle/moodle:^2.9.5
Packagist/moodle/moodle
Introduced in: 3.0.0Fixed in: 3.0.3
Fixcomposer require moodle/moodle:^3.0.3

References