All vulnerabilities

Servers and applications

CVE-2012-0798

The self-enrolment functionality in Moodle 2.1.x before 2.1.4 and 2.2.x before 2.2.1 allows remote authenticated users to obtain the manager role by leveraging the teacher role.

Severity
Medium 5.5
Published
17 Jul 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.1% in the next 30 daysHigher than 66% of CVEs. EPSS by FIRST, 12 Nov 2026
Weakness
CWE-264
Attack
Over the network · Needs a login
Attacker can
Read some data · Change some data
CVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:N
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Version 2.1.0
  • Version 2.1.1
  • Version 2.1.2
  • Version 2.1.3
  • Version 2.2.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-0798
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-0798