{"id":"CVE-2023-5540","aliases":["CVE-2023-5540","GHSA-w8x2-w4qr-v3x4","BIT-MOODLE-2023-5540"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle: authenticated remote code execution risk in imscp","summary":"A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.","source":"cvelist"},{"lang":"es","text":"Se identificó un riesgo de ejecución remota de código en la actividad IMSCP. Por defecto, esto sólo estaba disponible para profesores y directivos.","source":"nvd"}],"published":"2023-11-09T19:15:53.821Z","modified":"2026-09-10T03:49:47.708Z","severity":{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"fedora","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"4.2.0","fixed":"4.2.3","status":"affected"},{"type":"semver","introduced":"4.1.0","fixed":"4.1.6","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.0.11","status":"affected"},{"type":"semver","introduced":"3.11.0","fixed":"3.11.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9.24","status":"affected"}],"package":"moodle","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.3.0-rc2"}],"ecosystem":"Packagist","package":"moodle/moodle","purl":"pkg:composer/moodle/moodle","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.9.24"},{"status":"affected","introduced":"3.11.0","fixed":"3.11.17"},{"status":"affected","introduced":"4.0.0","fixed":"4.0.11"},{"status":"affected","introduced":"4.1.0","fixed":"4.1.6"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.3"}],"vendor":"moodle","product":"moodle","cpe":"cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"fedoraproject","product":"extra_packages_for_enterprise_linux","cpe":"cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.9.24"},{"type":"semver","introduced":"3.11.0","status":"affected","fixed":"3.11.17"},{"type":"semver","introduced":"4.0.0","status":"affected","fixed":"4.0.11"},{"type":"semver","introduced":"4.1.0","status":"affected","fixed":"4.1.6"},{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.3"}],"ecosystem":"Bitnami","package":"moodle","purl":"pkg:bitnami/moodle","source":"bitnami"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79409","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243432","tags":["advisory","issue-tracking","patch","third-party-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451581","tags":["advisory","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5540","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/moodle/moodle/commit/3400ae6510b11202aa9d86f7e75b3dff10d81522","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/moodle/moodle","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"fedora","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-04-22T20:12:01.101Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-5540","url":"https://www.cve.org/CVERecord?id=CVE-2023-5540","licence":"CVE Terms of Use","modified":"2024-08-02T07:59:44.894Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w8x2-w4qr-v3x4","url":"https://github.com/advisories/GHSA-w8x2-w4qr-v3x4","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:47.708Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-5540","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5540","licence":"Public domain","modified":"2026-06-17T06:48:47.833Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MOODLE-2023-5540","url":"https://osv.dev/vulnerability/BIT-MOODLE-2023-5540","licence":"Apache-2.0","modified":"2026-09-08T08:48:15.032Z"}],"updatedAt":"2026-11-25T22:58:30.283Z","epss":{"score":0.02269,"percentile":0.83541,"date":"2026-12-01T12:00:22.000Z"}}