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: 7.4 [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]
CVE-ID: CVE-2022-40314
CWE-ID: CWE-502
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.



Affected software

Moodle

How to mitigate CVE-2022-40314

Install updates from vendor's website.

Moodle - addressed in versions 3.9.17, 3.11.10, 4.0.4

External References

Related Security Bulletins