Live threats

All CVEs / Moodle

CVE-2011-4295Moodle

Medium 6.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.0.0
moodlemoodle2.0.1
moodlemoodle2.0.2
moodlemoodle2.0.3
moodlemoodle2.1.0

Official sources

References

Links published by the sources. Open them with care.