Code Injection in Moodle - CVE-2024-43425
Published: August 20, 2024 / Updated: August 30, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation within calculated question types. A remote user can send a specially crafted request and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
How to mitigate CVE-2024-43425
Links to Public Exploits and PoC-codes
- Exploit #11905 - Moodle-authenticated-RCE (? Exploit for Moodle 4.4.0 Authenticated RCE (CVE-2024-43425) — run commands remotely ⚡) (August 30, 2025)
- Exploit #11127 - Moodle-CVE-2024-43425-Exploit (February 10, 2025)
- Exploit #10943 - Moodle Remote Code Execution (CVE-2024-43425) (December 6, 2024)
- Exploit #10495 - moodle-rce-calculatedquestions (September 6, 2024)