CVE-2021-20187
mediumpriority · track · 30EPSS 0.016 · 76 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.5–7.2
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-2jrm-gww7-wch2Moodle Arbitrary PHP code execution by site admins via Shibboleth configuration2022-05-24ghsa · osvUS
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.
- BIT-moodle-2021-201872024-03-06vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://moodle.org/mod/forum/discuss.php?d=417171cnnvd
- https://moodle.org/security/Patchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-20187cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0314/cnnvd
- https://moodle.org/mod/forum/discuss.php?d=417171enisa_euvd
- https://moodle.org/mod/forum/discuss.php?d=417171PatchVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan