
Python PoC exploiting CVE-2024-36774 in Monstra CMS 3.0.4: authenticates to the admin panel, extracts a CSRF token, and uploads a PHP web shell via the theme chunk editor.
Authenticated Remote Code Execution exploit for Monstra CMS 3.0.4 via arbitrary PHP file upload through theme chunk editor.
| Detail | Value |
|---|---|
| CVE | CVE-2024-36774 |
| CWE | CWE-434 — Unrestricted Upload of File with Dangerous Type |
| Severity | High |
| Product | Monstra CMS 3.0.4 |
| EDB-ID | 52038 |
| Author | Ahmet Ümit BAYRAM (original) — modified PoC |
Monstra CMS 3.0.4 allows authenticated administrators to upload arbitrary PHP files through the theme chunk editor (/admin/index.php?id=themes&action=add_chunk). An attacker with valid admin credentials can upload a web shell and achieve full remote code execution on the server.
git clone https://github.com/PawFV/CVE-2024-36774-Monstra-CMS-RCE-PoC.git
cd CVE-2024-36774-Monstra-CMS-RCE-PoC
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python exploit.py <base_url> <username> <password>
python exploit.py http://target.com admin password123
python exploit.py -h
This tool is provided for authorized security testing and educational purposes only. Unauthorized access to computer systems is illegal. Use responsibly.