CVE-2021-20187
Moodle Arbitrary PHP code execution by site admins via Shibboleth configuration
7.2
HIGH
CVSS 3.1
EPSS 0.68%
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.
How to fix CVE-2021-20187
To remediate CVE-2021-20187, upgrade the affected package to a fixed version below.
- Bitnami/moodle—upgrade to 3.5.16 or later
- —upgrade to 3.5.16 or later
Is CVE-2021-20187 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.5.16, >= 3.8.0, < 3.8.7, >= 3.9.0, < 3.9.4, >= 3.10.0, < 3.10.1
- >= 3.5, < 3.5.16
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |