
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.

Scanner de vulnerabilidades rápido baseado em YAML, com motor de detecção orientado por templates para testes de segurança automatizados em aplicações web, APIs, redes, DNS e infraestrutura em nuvem.

Scanner de segurança de aplicações web de código aberto para detecção automatizada de vulnerabilidades, testes de penetração manuais e testes de segurança de API com um motor de intercepção baseado em 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 repositório contém o componente scanner da Greenbone Community Edition.