
POC of CVE-2025-49113
This repository contains a Proof-of-Concept (PoC) exploit for CVE-2025-49113, a critical remote code execution vulnerability in Roundcube Webmail versions prior to 1.5.10 and 1.6.11. The vulnerability arises from insecure PHP object deserialization in the upload.php script, allowing authenticated users to execute arbitrary code on the server.
⚠️ Disclaimer: This PoC is intended for educational purposes only. Do not use this exploit against systems you do not own or have explicit permission to test. Unauthorized use may be illegal.
For detailed information, refer to the NVD CVE-2025-49113 entry.
exp.pyThe exp.py script demonstrates the exploitation of this vulnerability. It sends a crafted request to the vulnerable upload.php endpoint, triggering the deserialization flaw and executing a specified command on the server.
pip -r install requirements.txt
python3 exp.py <target_url> <username> <password> <command>
python3 exp.py http://mail.website.com admin password "id"