Vulnerabilities

Vulnerability · 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.

Published Jul 17, 2012 · catalog updated Jun 16, 2026 · The self-enrolment functionality in

Last checked Nov 4, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2012-0798. EPSS is 1.11%. Act only if a listed version of The self-enrolment functionality in is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (The self-enrolment functionality in).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.

Same product and reporting

Severity
Medium5.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
1.11%
Remediation
Advisory link
Affected products
cpe moodle/moodle

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe moodle/moodle2.1.0
  • cpe moodle/moodle2.1.1
  • cpe moodle/moodle2.1.2
  • cpe moodle/moodle2.1.3
  • cpe moodle/moodle2.2.0

How to fix CVE-2012-0798

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2012-0798. EPSS is 1.11%. Act only if a listed version of The self-enrolment functionality in is installed.

Which versions are affected?

Compare what you have installed with 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-264. EPSS 1.11%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 17, 2012 · Monitored products — high

    Detected

    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.

  2. Jun 16, 2026 · Monitored products — high

    Updated

    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.

Sources

  • CVE.orgVulnerability recordCVE-2012-0798

    Official CVE identifier

    cve.org
  • Monitored products — highVendor advisoryCVE-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.

    nvd.nist.gov

References

Freshness

Last verified in this catalog Nov 4, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • CVE.orgNov 4, 2026
  • Monitored products — highNov 4, 2026