
This script exploits a stored XSS vulnerability (CVE-2024-42009) in Roundcube Webmail version 1.6.7. It injects a malicious payload into the webmail system, which, when triggered, exfiltrates email content from the victim’s inbox.
This script exploits a stored XSS vulnerability (CVE-2024-42009) in Roundcube Webmail version 1.6.7. It injects a malicious payload into the webmail system, which, when triggered, exfiltrates email content from the victim’s inbox.
python3 exploit.py
exploit.py
TARGET_URL to the target Roundcube instance.YOUR_IP:4444 with your actual listener IP and port.A good reference for understanding the impact of this vulnerability can be found in this blog post:
Government Emails at Risk: Critical Cross-Site Scripting Vulnerability in Roundcube Webmail
This exploit is for educational and authorized penetration testing purposes only. Unauthorized use against systems you do not own or have explicit permission to test is illegal. I am not the person who discovered CVE-2024-42009. This exploit was created using information from various blogs with small help from DeepSeek.
requests, beautifulsoup4 libraries (install with pip install requests beautifulsoup4)This project is for educational use only. Use it responsibly.