# CVE-2023-5550: Moodle: rce due to lfi risk in some misconfigured shared hosting environments

- Severity: Medium 6.5 (CVSS:3.1, scored by fedora) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.62%, higher than 76% of CVEs (2026-12-01)
- Published: 2023-11-09T19:38:08.611Z
- Modified: 2026-09-08T08:48:14.963Z
- Also known as: GHSA-5cvx-cwpx-9rjh, BIT-MOODLE-2023-5550
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: fedora

## 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.

(As written by CVE List.)

## Affected

- moodle: from 4.2.0 before 4.2.3; from 4.1.0 before 4.1.6; from 4.0.0 before 4.0.11; from 3.11.0 before 3.11.17; before 3.9.24
- moodle moodle: from 4.2.0 before 4.2.3; from 4.1.0 before 4.1.6; from 4.0.0 before 4.0.11; from 3.11.0 before 3.11.17; before 3.9.24
- moodle/moodle (Packagist): from 4.3.0-beta before 4.3.0-rc2; from 4.2.0 before 4.2.3; from 4.1.0 before 4.1.6; from 4.0.0 before 4.0.11; from 3.10.0 before 3.11.17; before 3.9.24
- fedoraproject extra_packages_for_enterprise_linux: 7.0
- fedoraproject fedora: 38
- moodle (Bitnami): before 3.9.24; from 3.11.0 before 3.11.17; from 4.0.0 before 4.0.11; from 4.1.0 before 4.1.6; from 4.2.0 before 4.2.3

## Every score

- fedora: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249> (fix, patch, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2243452> (advisory, issue-tracking, third-party-advisory, web)
- <https://moodle.org/mod/forum/discuss.php?d=451591> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5550> (advisory, web)
- <https://github.com/moodle/moodle/commit/77766f9c8af8fc8d861d7ac09ce4e1f6e72faca7> (web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2023-5550](https://www.cve.org/CVERecord?id=CVE-2023-5550), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-5cvx-cwpx-9rjh](https://github.com/advisories/GHSA-5cvx-cwpx-9rjh), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-5550](https://nvd.nist.gov/vuln/detail/CVE-2023-5550), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2023-5550](https://osv.dev/vulnerability/BIT-MOODLE-2023-5550), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-5550 · Whole record: https://cve.day/CVE-2023-5550.json · Rebuilt by cve.day 2026-11-25T22:58:30.287Z
