{"id":"CVE-2023-5550","published":"2023-11-09T19:38:08Z","modified":"2024-08-02T07:59:44Z","title":"Moodle: rce due to lfi risk in some misconfigured shared hosting environments","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01619,"percentile":0.76653,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243452","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451591","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":15.33},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 4.2.0, < 4.2.3",">= 4.1.0, < 4.1.6",">= 4.0.0, < 4.0.11",">= 3.11.0, < 3.11.17","< 3.9.24"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-06-27T19:58:39.374445Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":[">=4.3.0-beta, <4.3.0-rc2",">=4.2.0, <4.2.3",">=4.1.0, <4.1.6",">=4.0.0, <4.0.11",">=3.10.0, <3.11.17","<3.9.24"],"patched":["4.3.0-rc2","4.2.3","4.1.6","4.0.11","3.11.17","3.9.24"],"from":["GHSA-5cvx-cwpx-9rjh"],"provenance":"source"}],"summary":{"text":"Moodle contains a code injection flaw, reachable through a local file include, that affects shared hosting environments misconfigured to expose other users' content. An attacker who already has direct access to the web server outside the Moodle webroot, and who is a Moodle user, can use this flaw to achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:30Z"},"euvd":{"id":"EUVD-2023-2887","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-35132","published":"2023-06-22","fixed":"4.2.1","kev":false,"link":{"from":"CVE-2023-35132","to":"CVE-2023-5550","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"3.11.15","toFixed":"3.11.17","daysApart":140},{"kind":"version-step","provenance":"source","package":"Packagist:moodle/moodle","fromFixed":"4.2.1","toFixed":"4.2.3","daysApart":140}]}},{"cve":"CVE-2023-5547","published":"2023-11-09","fixed":"4.3.0-rc2","kev":false},{"cve":"CVE-2023-5548","published":"2023-11-09","fixed":"4.3.0-rc2","kev":false},{"cve":"CVE-2023-5549","published":"2023-11-09","fixed":"4.3.0-rc2","kev":false},{"cve":"CVE-2023-5550","published":"2023-11-09","fixed":"4.3.0-rc2","kev":false},{"cve":"CVE-2023-5551","published":"2023-11-09","fixed":"4.3.0-rc2","kev":false},{"cve":"CVE-2024-25978","published":"2024-02-19","fixed":"4.3.3","kev":false},{"cve":"CVE-2024-25979","published":"2024-02-19","fixed":"4.3.3","kev":false}],"package":"Packagist:moodle/moodle"}}