Vulnerability · Published Jan 28, 2021 · Assigned by redhat
CVE-2021-20187
High 7.2
In plain English
A high-severity code injection in moodle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.2High
Exploit odds (30 days)1.6%top 24.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 3.5.16 | GHSA-2jrm-gww7-wch2 |
| Packagist | moodle/moodle | 3.8.7 | GHSA-2jrm-gww7-wch2 |
| Packagist | moodle/moodle | 3.9.4 | GHSA-2jrm-gww7-wch2 |
| Packagist | moodle/moodle | 3.10.1 | GHSA-2jrm-gww7-wch2 |
Affected products (as reported)
Weakness: CWE-94
References
- https://moodle.org/mod/forum/discuss.php?d=417171 x_refsource_MISC