CVE-2023-5550
Moodle Code Injection vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (medium).
Description
In a shared hosting environment that has been misconfigured to allow access to other users' content, a Moodle user who also has direct access to the web server outside of the Moodle webroot could utilise a local file include to achieve remote code execution.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | moodle | 3.9.24, 3.11.17, 4.0.11, 4.1.6, 4.2.3 |
| composer::GitHub Security Advisory Composer | moodle/moodle | 4.3.0-rc2, 4.2.3, 4.1.6, 4.0.11, 3.11.17, 3.9.24 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249
- https://bugzilla.redhat.com/show_bug.cgi?id=2243452
- https://github.com/moodle/moodle
- https://github.com/moodle/moodle/commit/77766f9c8af8fc8d861d7ac09ce4e1f6e72faca7
- https://moodle.org/mod/forum/discuss.php?d=451591
- https://nvd.nist.gov/vuln/detail/CVE-2023-5550