CVE-2021-20187
HIGHCVSS 7.2/10EPSS 1.57%
Last modified
CVE-2021-20187 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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.. EPSS estimates a 1.57% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Moodle | Moodle | < 3.5.16 |
| Moodle | Moodle | >= 3.8.0, < 3.8.7 |
| Moodle | Moodle | >= 3.9.0, < 3.9.4 |
| Moodle | Moodle | 3.10.0 |
References
- https://moodle.org/mod/forum/discuss.php?d=417171Patch, Vendor Advisory
- https://moodle.org/mod/forum/discuss.php?d=417171Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-20187?
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.
How severe is CVE-2021-20187?
CVE-2021-20187 has a CVSS score of 7.2/10 (HIGH severity). The EPSS model estimates a 1.57% probability of exploitation in the next 30 days.
How do I fix CVE-2021-20187?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-20181A race condition flaw was found in the 9pfs server implement…7.5
- CVE-2021-20182A privilege escalation flaw was found in openshift4/ose-dock…8.8
- CVE-2021-20183It was found in Moodle before version 3.10.1 that some searc…5.4
- CVE-2021-20184It was found in Moodle before version 3.10.1, 3.9.4 and 3.8.…4.3
- CVE-2021-20185It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 a…5.3
- CVE-2021-20186It was found in Moodle before version 3.10.1, 3.9.4, 3.8.7 a…5.4
- CVE-2021-20188A flaw was found in podman before 1.7.0. File permissions fo…7
- CVE-2021-20189Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-2019Vulnerability in the MySQL Server product of Oracle MySQL (c…2.7
- CVE-2021-20190A flaw was found in jackson-databind before 2.9.10.7. Faster…8.1
- CVE-2021-20191A flaw was found in ansible. Credentials, such as secrets, a…5.5
- CVE-2021-20192Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
Are you affected by CVE-2021-20187?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
