{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5550","id":"CVE-2023-5550","title":"Moodle: rce due to lfi risk in some misconfigured shared hosting environments","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.","descriptionLong":"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":"2023-11-09T19:38:08.611Z","updated":"2026-10-28T02:30:41.494745278Z","reserved":"2023-10-12T00:50:39.990Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"fedora"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"fedora"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"puiterwijk.org"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["moodle"],"affectedProducts":[{"vendor":"","product":"moodle","defaultStatus":"unaffected","versions":[{"status":"affected","version":"4.2.0","lessThan":"4.2.3","versionType":"semver"},{"status":"affected","version":"4.1.0","lessThan":"4.1.6","versionType":"semver"},{"status":"affected","version":"4.0.0","lessThan":"4.0.11","versionType":"semver"},{"status":"affected","version":"3.11.0","lessThan":"3.11.17","versionType":"semver"},{"status":"affected","version":"0","lessThan":"3.9.24","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"moodle/moodle","purl":"pkg:composer/moodle/moodle","ranges":[">=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"],"fixed":["4.3.0-rc2","4.2.3","4.1.6","4.0.11","3.11.17","3.9.24"],"advisory":"GHSA-5cvx-cwpx-9rjh"}],"cwes":["CWE-94"],"aliases":["BIT-moodle-2023-5550","GHSA-5cvx-cwpx-9rjh"],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-72249","tags":["x_transferred","Patch","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243452","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451591","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://git.moodle.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5550.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5550","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/77766f9c8af8fc8d861d7ac09ce4e1f6e72faca7","tags":["web"]},{"url":"https://github.com/moodle/moodle","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01619,"epssPercentile":0.76579,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5550","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5550","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5550","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5cvx-cwpx-9rjh","ok":true,"note":"GHSA-5cvx-cwpx-9rjh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-5550","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}