### [CVE-2021-20187](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20187) ![](https://img.shields.io/static/v1?label=Product&message=moodle&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=moodle%203.10.1%2C%20moodle%203.9.4%2C%20moodle%203.8.7%2C%20moodle%203.5.16%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94&color=brightgreen) ### Description It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 and 3.5.16 that it was possible for site administrators to execute arbitrary PHP scripts via a PHP include used during Shibboleth authentication. ### POC #### Reference - https://moodle.org/mod/forum/discuss.php?d=417171 #### Github - https://github.com/jev770/badmoodle-scan