### [CVE-2012-0798](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0798) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brightgreen) ### 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. ### POC #### Reference - http://moodle.org/mod/forum/discuss.php?d=194017 #### Github No PoCs found on GitHub currently.