{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-5540","id":"CVE-2023-5540","title":"Moodle: authenticated remote code execution risk in imscp","description":"A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.","descriptionLong":"A remote code execution risk was identified in the IMSCP activity. By default this was only available to teachers and managers.","published":"2023-11-09T19:15:53.821Z","updated":"2026-10-28T02:31:12.707553426Z","reserved":"2023-10-11T23:39:10.773Z","status":"Modified","rejected":false,"assigner":"fedora","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"fedora"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"fedora"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"puiterwijk.org"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","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-rc2"],"fixed":["4.3.0-rc2"],"advisory":"GHSA-w8x2-w4qr-v3x4"}],"cwes":["CWE-94"],"aliases":["BIT-moodle-2023-5540","GHSA-w8x2-w4qr-v3x4"],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-79409","tags":["x_transferred","Patch","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243432","tags":["issue-tracking","x_refsource_REDHAT","x_transferred","Issue Tracking","Patch","Third Party Advisory","report","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451581","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-5540.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5540","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/3400ae6510b11202aa9d86f7e75b3dff10d81522","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":"no","technicalImpact":"total"},"epss":0.02269,"epssPercentile":0.83422,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-5540","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5540","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-5540","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w8x2-w4qr-v3x4","ok":true,"note":"GHSA-w8x2-w4qr-v3x4"},{"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-5540","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}