{"id":"CVE-2021-20187","state":"PUBLISHED","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 execute arbitrary PHP scripts via a PHP include used during Sh","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.","publishedAt":"2021-01-28T18:30:03.000Z","updatedAt":"2024-08-03T17:30:07.535Z","severity":null,"assigner":"redhat","products":["n/a moodle"],"affected":[{"vendor":"n/a","product":"moodle","versions":[{"version":"moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16","status":"affected"}]}],"references":["https://moodle.org/mod/forum/discuss.php?d=417171"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:47:55.610Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/20xxx/CVE-2021-20187.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-20187","state":"PUBLISHED","datePublished":"2021-01-28T18:30:03.000Z","dateUpdated":"2024-08-03T17:30:07.535Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2020-12-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"moodle","versions":[{"version":"moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16","status":"affected"}]}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=417171","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2021-01-28T18:30:03.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-20187","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"moodle","version":{"version_data":[{"version_value":"moodle 3.10.1, moodle 3.9.4, moodle 3.8.7, moodle 3.5.16"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94"}]}]},"references":{"reference_data":[{"name":"https://moodle.org/mod/forum/discuss.php?d=417171","refsource":"MISC","url":"https://moodle.org/mod/forum/discuss.php?d=417171"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=417171","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:30:07.535Z"}}]}}}