CVE-2011-4295Moodle
Medium 6.5
Follow: this CVE · Moodle · Moodle We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 2.0
- 6.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- Yes
- Published
- Jul 16, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
What happens
The moodle_enrol_external:role_assign function in enrol/externallib.php in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 does not have an authorization check, which allows remote authenticated users to gain privileges by making a role assignment.
What to do
- Apply the vendor's security update for Moodle.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| moodle | moodle | 2.0.0 |
| moodle | moodle | 2.0.1 |
| moodle | moodle | 2.0.2 |
| moodle | moodle | 2.0.3 |
| moodle | moodle | 2.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- git.moodle.org
- moodle.org Vendor Advisory
- openwall.com