Deserialization of Untrusted Data
A remote code execution risk when restoring backup files originating from Moodle versions prior to 3.9.17, 3.10.x, 3.11.x prior to 3.11.10, and 4.0.x prior to 4.0.4 was identified.
CWE-502 - Deserialization of Untrusted Data
Deserialization of untrusted data vulnerabilities enable an attacker to replace or manipulate a serialized object, replacing it with malicious data. When the object is deserialized at the victim's end the malicious data is able to compromise the victim’s system. The exploit can be devastating, its impact may range from privilege escalation, broken access control, or denial of service attacks to allowing unauthorized access to the application's internal code and logic which can compromise the entire system.