Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2024-43425 PoC β€” Moodle: remote code execution via calculated question types

Source
Associated Vulnerability
Title:Moodle: remote code execution via calculated question types (CVE-2024-43425)
Description:A flaw was found in Moodle. Additional restrictions are required to avoid a remote code execution risk in calculated question types. Note: This requires the capability to add/update questions.
Description
πŸš€ Exploit for Moodle 4.4.0 Authenticated RCE (CVE-2024-43425) β€” run commands remotely ⚑
Readme
# Moodle 4.4.0 - Authenticated Remote Code Execution (CVE-2024-43425) Exploit
**CVE:** CVE-2024-43425

---

## Affected Versions
- 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

---

## Description
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.

---

## Usage
1. Clone or download this repository.  
2. Install required dependencies:
   ```
   pip install -r requirements.txt
   
   ```
3. Run the exploit script:
   ```
    python exploit.py --url http://target_moodle_url --username your_username --password your_password --cmd "whoami"
   
   ```
   

---

## πŸ–ΌοΈ Screenshot

![Sample Output](./images/Screenshot.png)

---

## Disclaimer
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.

---
File Snapshot

[4.0K] /data/pocs/430c6748bfcee51167fac493660d6579fab59c19 β”œβ”€β”€ [8.1K] app.py β”œβ”€β”€ [4.0K] images β”‚Β Β  └── [ 96K] Screenshot.png β”œβ”€β”€ [1.1K] README.md └── [ 17] requirements.txt 1 directory, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers β€” if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online β€” thank you for the support. View subscription plans β†’