VDB
Sign up
MEDIUM4.3

GHSA-gmhr-6f43-7qpj

Moodle does not properly implement group-based access restrictions

Quick fix

GHSA-gmhr-6f43-7qpj — moodle/moodle: upgrade to the fixed version with the command below.

composer require moodle/moodle:^2.7.11

Details

The core_enrol_get_enrolled_users web service in enrol/externallib.php in Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not properly implement group-based access restrictions, which allows remote authenticated users to obtain sensitive course-participant information via a web-service request.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/moodle/moodle
Introduced in: 0Fixed in: 2.7.11
Fixcomposer require moodle/moodle:^2.7.11
Packagist/moodle/moodle
Introduced in: 2.8.0Fixed in: 2.8.9
Fixcomposer require moodle/moodle:^2.8.9
Packagist/moodle/moodle
Introduced in: 2.9.0Fixed in: 2.9.3
Fixcomposer require moodle/moodle:^2.9.3

References