MEDIUM6.8
GHSA-454r-4cjv-vc9h
Moodle allows attackers to obtain manager privileges
Quick fix
GHSA-454r-4cjv-vc9h — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^2.7.10Details
The enrol_meta_sync function in enrol/meta/locallib.php in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 allows remote authenticated users to obtain manager privileges in opportunistic circumstances by leveraging incorrect role processing during a long-running sync script.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
2.7.0Fixed in: 2.7.10Fix
composer require moodle/moodle:^2.7.10References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5266[ADVISORY]
- https://github.com/moodle/moodle/commit/936facab28d8d8bd03f38da42cb80fafba1a06db[WEB]
- https://github.com/moodle/moodle/commit/ab006d43e48add8e5495141d4d750c1531772ca2[WEB]
- https://github.com/moodle/moodle/commit/dff6cdc88355f22ebaaf8f00c44a1ad51d272344[WEB]
- https://github.com/moodle/moodle/commit/f7fbc80766b72ed1c9915698edd443ee8f6eafbd[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- https://moodle.org/mod/forum/discuss.php?d=320290[WEB]
- https://web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619[WEB]
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50744[WEB]
- http://www.openwall.com/lists/oss-security/2015/09/21/1[WEB]