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.11Details
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5339[ADVISORY]
- https://github.com/moodle/moodle/commit/12bc713081dc24b6eedea54281876e7c3f5579a6[WEB]
- https://github.com/moodle/moodle/commit/512633461ae239677342b40d318803e15e1fd1aa[WEB]
- https://github.com/moodle/moodle/commit/b26b2407908abb1a8a4d37aebc18e03139c9776f[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=323234[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51861[WEB]