VDB
Sign up
MEDIUM4.3

GHSA-gr8j-qm8r-rfgg

Moodle Improper Access Control

Quick fix

GHSA-gr8j-qm8r-rfgg — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.7.14

Details

The "restore teacher" feature in Moodle 3.0 through 3.0.3, 2.9 through 2.9.5, 2.8 through 2.8.11, 2.7 through 2.7.13, and earlier allows remote authenticated users to overwrite the course idnumber.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 2.7Fixed in: 2.7.14
Fixcomposer require moodle/moodle:^2.7.14
Packagist/moodle/moodle
Introduced in: 2.8Fixed in: 2.8.12
Fixcomposer require moodle/moodle:^2.8.12
Packagist/moodle/moodle
Introduced in: 2.9Fixed in: 2.9.6
Fixcomposer require moodle/moodle:^2.9.6
Packagist/moodle/moodle
Introduced in: 3.0Fixed in: 3.0.4
Fixcomposer require moodle/moodle:^3.0.4

References