{"id":"CVE-2024-34004","summary":"moodle: authenticated LFI risk in some misconfigured shared hosting environments via modified mod_wiki backup","details":"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.","aliases":["BIT-moodle-2024-34004","GHSA-q3cm-ccrm-2mr6"],"modified":"2026-05-28T04:09:38.082568766Z","published":"2024-05-31T20:23:02.481Z","database_specific":{"cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34004.json","cna_assigner":"fedora","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"4.0"},{"last_affected":"4.3.3"},{"introduced":"4.2"},{"last_affected":"4.2.6"},{"introduced":"4.1"},{"last_affected":"4.1.9"}]}]},"references":[{"type":"WEB","url":"https://git.moodle.org"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=458393"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34004.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34004"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/moodle/moodle","events":[{"introduced":"0"},{"fixed":"e8d03fdae4ec30a40cdc535c8e9e95f30604ec10"},{"introduced":"ae4efa96ee8169a848c141ad21690165ea791552"},{"fixed":"6a1fcb30506343b7b4866b489c90843f5d453187"},{"introduced":"fe7aff8093240cc373f1ddaa66ecb91c4bc0a09f"},{"fixed":"143c2cd5bef1268751d58bbfc6c66c1d93cb9797"}],"database_specific":{"source":"CPE_RANGE","extracted_events":[{"introduced":"0"},{"fixed":"4.1.10"},{"introduced":"4.2.0"},{"fixed":"4.2.7"},{"introduced":"4.3.0"},{"fixed":"4.3.4"}],"cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"}}],"versions":["v4.2.6","v4.3.3","v4.1.9","v4.1.8","v4.2.5","v4.3.2","v4.2.4","v4.1.7","v4.3.1","v4.3.0","v4.2.3","v4.1.6","v4.1.5","v4.2.2","v4.2.1","v4.1.4","v4.2.0","v4.1.3","v4.1.2","v4.1.1","v4.1.0-beta","v4.1.0","v4.1.0-rc3","v4.1.0-rc2","v4.1.0-rc1","v4.0.0","v4.0.0-rc2","v4.0.0-rc3","v4.0.0-rc4","v4.0.0-rc1","v4.0.0-beta","v3.9.0-rc2","v3.9.0","v3.9.0-rc3","v3.9.0-rc1","v3.9.0-beta","v3.8.0","v3.8.0-rc1","v3.8.0-beta","v3.7.0","v3.7.0-rc2","v3.7.0-rc1","v3.7.0-beta","v3.6.0","v3.6.0-rc2","v3.6.0-rc3","v3.6.0-rc1","v3.6.0-beta","v3.5.0","v3.5.0-rc1","v3.5.0-beta","v3.4.0","v3.4.0-rc2","v3.4.0-rc3","v3.4.0-rc1","v3.4.0-beta","v3.3.0","v3.3.0-rc3","v3.3.0-rc2","v3.3.0-rc1","v3.3.0-beta","v3.2.0-rc2","v3.2.0","v3.2.0-rc4","v3.2.0-beta","v3.2.0-rc5","v3.2.0-rc3","v3.2.0-rc1","v3.1.0-beta","v3.1.0","v3.1.0-rc2","v3.1.0-rc1","v3.0.0-rc3","v3.0.0","v3.0.0-rc4","v3.0.0-rc2","v3.0.0-rc1","v3.0.0-beta","v2.9.0","v2.9.0-rc2","v2.9.0-rc1","v2.9.0-beta","v2.8.0","v2.8.0-rc2","v2.8.0-rc1","v2.8.0-beta","v2.7.0","v2.7.0-rc2","v2.7.0-rc1","v2.7.0-beta","v2.6.0","v2.6.0-rc1","v2.6.0-beta","v2.5.0","v2.5.0-rc1","v2.5.0-beta","v2.4.0-beta","v2.4.0-rc1","v2.4.0","v2.3.0","v2.3.0-rc1","v2.3.0-beta","v2.2.0","v2.2.0-rc1","v2.2.0-beta","v2.1.0","v2.0.1","v2.0.0","v2.0.0-rc2","v2.0.0-rc1","v1.3.0","v1.2.1","v1.2.0","v1.1.1","v1.1.0","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-34004.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}