
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.

Escáner de vulnerabilidades rápido basado en YAML con motor de detección impulsado por plantillas para pruebas de seguridad automatizadas en aplicaciones web, APIs, redes, DNS e infraestructura en la nube.

Escáner de seguridad de aplicaciones web de código abierto para detección automatizada de vulnerabilidades, pruebas de penetración manuales y pruebas de seguridad de API con un motor de interceptación basado en proxy.

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.
Este repositorio contiene el componente escáner para Greenbone Community Edition.