Vulnerability · Published Mar 23, 2023 · Assigned by fedora
CVE-2023-28333Moodle: pix helper potential mustache code injection risk
Critical 9.8
In plain English
A critical-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.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.2%top 32.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
The Mustache pix helper contained a potential Mustache injection risk if combined with user input (note: This did not appear to be implemented/exploitable anywhere in the core Moodle LMS).
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | moodle/moodle | 4.1.2 | GHSA-q2x3-2f9g-h559 |
| Packagist | moodle/moodle | 4.0.7 | GHSA-q2x3-2f9g-h559 |
| Packagist | moodle/moodle | 3.11.13 | GHSA-q2x3-2f9g-h559 |
| Packagist | moodle/moodle | 3.9.20 | GHSA-q2x3-2f9g-h559 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| moodle | 4.1.0 – before 4.1.24.0.0 – before 4.0.73.11.0 – before 3.11.130 – before 3.9.20 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- RHBZ#2179422 issue-tracking, x_refsource_REDHAT
- FEDORA-2023-d9c13996b2 vendor-advisory
- https://moodle.org/mod/forum/discuss.php?d=445065