CVE-2023-5550
CRITICAL 9.8CVSS 3.1Moodle Code Injection vulnerability
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.
- Published
- 9 Nov 2023
- Last modified
- 17 Jun 2026
- Assigned by
- patrick@puiterwijk.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- BIT-moodle-2023-5550GHSA-5cvx-cwpx-9rjh
- Sources
- NVDJSONOSV GHSA-5cvx-cwpx-9rjhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | patrick@puiterwijk.org (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
< 3.9.24 | 3.9.24 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 3.11.0, < 3.11.17 | 3.11.17 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.11 | 4.0.11 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.6 | 4.1.6 |
| NVD | moodle | moodlecpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.3 | 4.2.3 |
| NVD | fedoraproject | extra_packages_for_enterprise_linuxcpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| OSV | Packagist | moodle/moodle | >= 4.3.0-beta, < 4.3.0-rc2 | 4.3.0-rc2 |
| OSV | Packagist | moodle/moodle | >= 4.2.0, < 4.2.3 | 4.2.3 |
| OSV | Packagist | moodle/moodle | >= 4.1.0, < 4.1.6 | 4.1.6 |
| OSV | Packagist | moodle/moodle | >= 4.0.0, < 4.0.11 | 4.0.11 |
| OSV | Packagist | moodle/moodle | >= 3.10.0, < 3.11.17 | 3.11.17 |
| OSV | Packagist | moodle/moodle | < 3.9.24 | 3.9.24 |
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249 · Patch, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2243452 · Issue Tracking, Third Party Advisory, WEB
- https://moodle.org/mod/forum/discuss.php?d=451591 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-5550 · ADVISORY
- https://github.com/moodle/moodle/commit/77766f9c8af8fc8d861d7ac09ce4e1f6e72faca7 · WEB
- https://github.com/moodle/moodle · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Nov 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Nov 2023)