#VU67469 Deserialization of Untrusted Data in Moodle


Published: 2022-09-19

Vulnerability identifier: #VU67469

Vulnerability risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-40314

CWE-ID: CWE-502

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Moodle
Web applications / Other software

Vendor: moodle.org

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.


Mitigation
Install updates from vendor's website.

Vulnerable software versions

Moodle: 4.0.0 - 4.0.3, 3.11 - 3.11.9, 3.10.0 - 3.10.11, 3.9.0 - 3.9.16


CPE

External links
http://moodle.org/mod/forum/discuss.php?d=438393
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-75405


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability