MEDIUM
GHSA-966m-m549-2878
Moodle is vulnerable to unauthorized new accounts creation
Quick fix
GHSA-966m-m549-2878 — moodle/moodle: upgrade to the fixed version with the command below.
composer require moodle/moodle:^1.8.12Details
Moodle 1.8.x and 1.9.x before 1.9.8 can create new roles when restoring a course, which allows teachers to create new accounts even if they do not have the moodle/user:create capability.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/moodle/moodle
Introduced in:
1.8.0Fixed in: 1.8.12Fix
composer require moodle/moodle:^1.8.12References
- https://nvd.nist.gov/vuln/detail/CVE-2010-1616[ADVISORY]
- https://github.com/moodle/moodle/commit/55f5b2e8b84e6390c0917195d01a3b34c33ff398[WEB]
- https://github.com/moodle/moodle/commit/5d9ab024ac9c311c84716628cce9a124173a2e8b[WEB]
- https://github.com/moodle/moodle/commit/5e934890c9fbe28bf89362d3eb6140208b5e3464[WEB]
- https://github.com/moodle/moodle/commit/b0ccfc5ce87f09d4df814b057f5e6820d37fdad1[WEB]
- https://github.com/moodle/moodle/commit/d8ada21339ecc147eccaaae97678f5368ac05f8b[WEB]
- https://github.com/moodle/moodle[PACKAGE]
- http://lists.opensuse.org/opensuse-security-announce/2010-05/msg00001.html[WEB]
- http://moodle.org/security[WEB]
- http://tracker.moodle.org/browse/MDL-16658[WEB]
- http://www.vupen.com/english/advisories/2010/1107[WEB]