VDB
Sign up
MEDIUM

GHSA-prrh-679x-79qh

Moodle allows remote authenticated users to reassign notes

Quick fix

GHSA-prrh-679x-79qh — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.2.8

Details

notes/edit.php in Moodle 1.9.x through 1.9.19, 2.x through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote authenticated users to reassign notes via a modified (1) userid or (2) courseid field.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 1.9.0Fixed in: 2.2.8
Fixcomposer require moodle/moodle:^2.2.8
Packagist/moodle/moodle
Introduced in: 2.3.0Fixed in: 2.3.5
Fixcomposer require moodle/moodle:^2.3.5
Packagist/moodle/moodle
Introduced in: 2.4.0Fixed in: 2.4.2
Fixcomposer require moodle/moodle:^2.4.2

References