Deserialization of Untrusted Data in Moodle - CVE-2022-40314

 

Deserialization of Untrusted Data in Moodle - CVE-2022-40314

Published: September 19, 2022


Vulnerability identifier: #VU67469
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-40314
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: moodle.org
Affected software:
Moodle

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when restoring backup files originating from Moodle. A remote attacker can trick the victim into restoring the website from a malformed backup and execute arbitrary code on the target system.



How to mitigate CVE-2022-40314

Install updates from vendor's website.

Sources