GHSA-454r-4cjv-vc9h CVE-2015-5266
Moodle allows attackers to obtain manager privileges
- Severity
- 6.8 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 1.57%
- Chance of exploitation in the next 30 days. Higher than 75.34% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- —
- Not classified
- Fix
2.7.10- Upgrade moodle/moodle to this version or later
Description
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.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| moodle/moodle | >= 2.7.0, < 2.7.10 |
2.7.10 |
| moodle/moodle | >= 2.8.0, < 2.8.8 |
2.8.8 |
| moodle/moodle | >= 2.9.0, < 2.9.2 |
2.9.2 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
moodle/moodle Packagist → 2.7.10
- composer
composer require moodle/moodle:^2.7.10
Severity breakdown
CVSS 3.0 6.8
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
References
Advisories
Packages
Other links
- github.com/moodle/moodle/commit/936facab28d8d8bd03f38da42cb80fafba1a06db
- github.com/moodle/moodle/commit/ab006d43e48add8e5495141d4d750c1531772ca2
- github.com/moodle/moodle/commit/dff6cdc88355f22ebaaf8f00c44a1ad51d272344
- github.com/moodle/moodle/commit/f7fbc80766b72ed1c9915698edd443ee8f6eafbd
- moodle.org/mod/forum/discuss.php
- web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619
- git.moodle.org/gw
- openwall.com/lists/oss-security/2015/09/21/1
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-cg8j-5cr2-568q Moodle TeX formula editor is vulnerable to DoS through lack of execution time limits | Medium | Also affects moodle/moodle |
| GHSA-ggxq-2mg9-8966 Moodle has a Remote Code Execution risk via file restore | High | Also affects moodle/moodle |
| GHSA-8jrv-wx83-w3xj Moodle Inserts Sensitive Information Into Sent Data | Medium | Also affects moodle/moodle |
| GHSA-hcm6-q6pc-xfhm Moodle has an authorization logic flaw | Critical | Also affects moodle/moodle |
| GHSA-vwhw-vp9v-q9c9 Moodle vulnerable to Cross-site Scripting | Medium | Also affects moodle/moodle |
| GHSA-5cx4-w4fh-fr57 Moodle Affected by Improper Restriction of Excessive Authentication Attempts | High | Also affects moodle/moodle |
| GHSA-qv78-6gpp-hm68 Moodle Open Redirect vulnerability | Medium | Also affects moodle/moodle |
| GHSA-qfh6-h7j6-fvjv Moodle formula injection vulnerability | High | Also affects moodle/moodle |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor