{"id":"CVE-2012-0798","aliases":["EUVD-2012-0827","GHSA-4794-5xw8-8vrg"],"status":"published","title":"The self-enrolment functionality in Moodle 2.1.x before 2.1.4 and 2.2.x before 2.2.1 allows...","description":"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":{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.0111,"percentile":0.66135,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-264"],"published":"2012-07-17T10:00:00Z","modified":"2026-06-16T23:38:16Z","products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-29469","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=783532","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://moodle.org/mod/forum/discuss.php?d=194017","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0798"},{"url":"https://github.com/advisories/GHSA-4794-5xw8-8vrg"}],"sources":{"cve":[{"id":"CVE-2012-0798","description":"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.","status":"published","published":"2012-07-17T10:00:00Z","modified":"2024-08-06T18:38:14.451Z","updated_at":"2026-11-02T14:34:52.638543Z"}],"euvd":[{"id":"EUVD-2012-0827","description":"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.","status":"published","published":"2012-07-17T10:00:00Z","modified":"2024-08-06T18:38:14Z","updated_at":"2026-11-03T01:56:19.818597Z"}],"ghsa":[{"id":"GHSA-4794-5xw8-8vrg","title":"The self-enrolment functionality in Moodle 2.1.x before 2.1.4 and 2.2.x before 2.2.1 allows...","description":"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.","status":"published","published":"2022-05-13T01:13:05Z","modified":"2023-02-01T05:03:55Z","updated_at":"2026-11-02T14:50:07.322817Z"}],"nvd":[{"id":"CVE-2012-0798","description":"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.","status":"published","published":"2012-07-17T10:20:53.13Z","modified":"2026-06-16T23:38:16.853Z","cvss":[{"version":"2.0","score":5.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:14.774945Z"}]}}
