{"id":"CVE-2021-20187","published":"2021-01-28T18:30:03Z","modified":"2024-08-03T17:30:07Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01591,"percentile":0.76275,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=417171","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":15.26}]},"affectedVersions":[{"vendor":"n/a","product":"moodle","versions":["moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16"]}],"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=3.5, <3.5.16",">=3.8, <3.8.7",">=3.9, <3.9.4",">=3.10, <3.10.1"],"patched":["3.5.16","3.8.7","3.9.4","3.10.1"],"from":["GHSA-2jrm-gww7-wch2"],"provenance":"source"}],"summary":{"text":"In Moodle, prior to versions 3.10.1, 3.9.4, 3.8.7 and 3.5.16, a flaw exists in the Shibboleth authentication component that allows arbitrary PHP code to be executed through a PHP include. An attacker who already holds site administrator privileges can exploit this to run arbitrary PHP scripts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:21Z"},"euvd":{"id":"EUVD-2022-2005","exploited":false,"provenance":"source"}}