#VU67469 Deserialization of Untrusted Data in Moodle


Published: 2022-09-19

Vulnerability identifier: #VU67469

Vulnerability risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

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


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?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability