Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-43425 PoC — Moodle 安全漏洞

Source
Associated Vulnerability
Title:Moodle 安全漏洞 (CVE-2024-43425)
Description:Moodle是Moodle开源的一套免费的电子学习软件平台,也称课程管理系统、学习管理系统或虚拟学习环境。 Moodle存在安全漏洞,该漏洞源于需要额外的限制来避免计算问题类型中的远程代码执行风险。
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. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.