CVE: CVE-2024-43425
- Moodle 4.4 to 4.4.1
- Moodle 4.3 to 4.3.5
- Moodle 4.2 to 4.2.8
- Moodle 4.1 to 4.1.11
This exploit targets an authenticated Remote Code Execution (RCE) vulnerability in Moodle versions listed above. It allows an attacker with valid credentials to execute arbitrary commands on the server by exploiting insecure question bank editing functionality.
- Clone or download this repository.
- Install required dependencies:
pip install -r requirements.txt - Run the exploit script:
python exploit.py --url http://target_moodle_url --username your_username --password your_password --cmd "whoami"
This exploit is provided for educational and authorized testing purposes only. Unauthorized use against systems you do not own or have explicit permission to test is illegal and unethical.
just a small tweak.
