{"id":"CVE-2022-40314","published":"2022-09-30T16:29:22Z","modified":"2025-05-20T18:23:40Z","title":"A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified","vendor":null,"product":null,"tier":"tail","description":{"text":"A remote code execution risk when restoring backup files originating from Moodle 1.9 was identified.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02101,"percentile":0.82169,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2128147","tags":["x_refsource_MISC"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=438393","tags":["x_refsource_MISC"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":16.43},{"name":"CVSS severity","points":6.86}]},"affectedVersions":[{"vendor":"n/a","product":"moodle","versions":["4.0 to 4.0.3, 3.11 to 3.11.9, 3.9 to 3.9.16 and earlier unsupported versions"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-20T18:23:16.446219Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<3.9.17",">=3.11, <3.11.10",">=4.0, <4.0.4"],"patched":["3.9.17","3.11.10","4.0.4"],"from":["GHSA-2hmm-q272-xmhf"],"provenance":"source"}],"summary":{"text":"A deserialization flaw (CWE-502) exists in Moodle's backup restore functionality when processing backup files originating from Moodle 1.9. The vulnerable component is the backup restore handling within Moodle. An attacker who can supply a crafted backup file for restoration can achieve remote code execution, with the vector indicating no privileges or user interaction are required and network access is sufficient.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:36Z"},"euvd":{"id":"EUVD-2022-6989","exploited":false,"provenance":"source"}}