CVE-2015-5266
Moodle allows attackers to obtain manager privileges
Reported by redhat · Published February 22, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| moodle | moodle | 2.6.11 |
| moodle | Ubuntu:18.04:LTS | 3.0.3+dfsg-0ubuntu1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| moodle | moodle | 2.7.0, 2.8.0, 2.9.0 |
Timeline
- Sep 21, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 17, 2026 Security Advisory
- Oct 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-5266
vulnetix vdb fixes CVE-2015-5266
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-5266/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [oss-security] 20150921 Moodle security release mailing-listx_refsource_MLIST
- 1033619 vdb-entryx_refsource_SECTRACK
- https://nvd.nist.gov/vuln/detail/CVE-2015-5266 advisory
- https://github.com/moodle/moodle/commit/936facab28d8d8bd03f38da42cb80fafba1a06db fix
- https://github.com/moodle/moodle/commit/ab006d43e48add8e5495141d4d750c1531772ca2 fix
- https://github.com/moodle/moodle/commit/dff6cdc88355f22ebaaf8f00c44a1ad51d272344 fix
- https://web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619 url
- https://github.com/advisories/GHSA-454r-4cjv-vc9h advisory
- https://github.com/moodle/moodle/commit/f7fbc80766b72ed1c9915698edd443ee8f6eafbd fix