# CVE-2024-34004: moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_wiki backup

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2024-05-31T20:23:02.481Z
- Modified: 2026-09-08T08:48:15.371Z
- Also known as: GHSA-q3cm-ccrm-2mr6, BIT-MOODLE-2024-34004
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, 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 with both access to restore wiki modules and direct access to the web server outside of the Moodle webroot could execute a local file include.

(As written by CVE List.)

## Affected

- Moodle: from 4.0 up to 4.3.3; from 4.2 up to 4.2.6; from 4.1 up to 4.1.9
- moodle/moodle (Packagist): from 4.3.0 before 4.3.4; from 4.2.0 before 4.2.7; before 4.1.10
- moodle moodle: before 4.1.10; from 4.2.0 before 4.2.7; from 4.3.0 before 4.3.4
- moodle (Bitnami): before 4.1.10; from 4.2.0 before 4.2.7; from 4.3.0 before 4.3.4

## Every score

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

## References

- <https://moodle.org/mod/forum/discuss.php?d=458393> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34004> (advisory, web)
- <https://github.com/moodle/moodle> (package)

## Sources

- CVE List: [CVE-2024-34004](https://www.cve.org/CVERecord?id=CVE-2024-34004), CVE Terms of Use, modified 2025-03-27
- GitHub Advisory Database: [GHSA-q3cm-ccrm-2mr6](https://github.com/advisories/GHSA-q3cm-ccrm-2mr6), CC-BY-4.0, modified 2025-05-02
- NVD: [CVE-2024-34004](https://nvd.nist.gov/vuln/detail/CVE-2024-34004), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MOODLE-2024-34004](https://osv.dev/vulnerability/BIT-MOODLE-2024-34004), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-34004 · Whole record: https://cve.day/CVE-2024-34004.json · Rebuilt by cve.day 2026-11-25T22:58:41.342Z
