{"id":"CVE-2023-5539","published":"2023-11-09T19:11:06Z","modified":"2024-09-03T18:29:00Z","title":"Moodle: authenticated remote code execution risk in lesson","vendor":null,"product":null,"tier":"tail","description":{"text":"A remote code execution risk was identified in the Lesson activity. By default this was only available to teachers and managers.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02189,"percentile":0.82867,"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-79408","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2243352","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=451580","tags":[]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":16.57},{"name":"CVSS severity","points":3.29}]},"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":"no","technicalImpact":"total","timestamp":"2024-09-03T18:23:49.115260Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<4.3.0-rc2"],"patched":["4.3.0-rc2"],"from":["GHSA-3xxm-3g3c-w579"],"provenance":"source"}],"summary":{"text":"A remote code execution risk exists in the Lesson activity of Moodle, which is a flaw involving improper control of code generation (code injection). An attacker with network access and high-privilege authenticated access (by default limited to teachers and managers) can trigger the issue without any user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:48Z"},"euvd":{"id":"EUVD-2023-2868","exploited":false,"provenance":"source"}}