Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-49113 PoC — Roundcube Webmail 安全漏洞

Source
Associated Vulnerability
Title:Roundcube Webmail 安全漏洞 (CVE-2025-49113)
Description:Roundcube Webmail before 1.5.10 and 1.6.x before 1.6.11 allows remote code execution by authenticated users because the _from parameter in a URL is not validated in program/actions/settings/upload.php, leading to PHP Object Deserialization.
Readme
# 📧 Roundcube ≤ 1.6.10 Post-Auth RCE via PHP Object Deserialization [CVE-2025-49113]

## 🔍 Writeup

A critical post-authentication Remote Code Execution vulnerability was discovered in Roundcube (versions ≤ 1.6.10), caused by insecure PHP object deserialization. This severe flaw has silently persisted in the codebase for over **10 years**.

For the full technical writeup and exploitation details, visit:

👉 [https://fearsoff.org/research/roundcube](https://fearsoff.org/research/roundcube)

---

## 🐳 Quick Installation (via Docker)

This will install Ubuntu 24.04, Roundcube, and all necessary dependencies inside a Docker container:

```bash
docker run --name ubuntu24 \
  -p 9876:80 \
  -v "$PWD/rc_install.sh":/root/rc_install.sh \
  -it ubuntu:24.04 \
  bash -c "chmod +x /root/rc_install.sh && /root/rc_install.sh && exec bash"
``` 

> ⚠️ **Note**: Use only in isolated environments. Do **not** expose vulnerable instances to the public internet.

## ⚠️ Disclaimer

This proof-of-concept code is provided for educational and research purposes only. The author and contributors assume no responsibility for any misuse or damage resulting from the use of this code. Unauthorized use on systems you do not own or have explicit permission to test is illegal and strictly prohibited.

## Run:
Make sure you have `php` installed on the system
```
php CVE-2025-49113.php http://127.0.0.1:9876/ roundcube fearsoff.org "cat /etc/passwd > /tmp/pwned"
```


## 👤 Author & Credits

- **Author**: Kirill Firsov ([https://x.com/k_firsov](https://x.com/k_firsov))  
- **Organization**: FearsOff ([https://fearsoff.org](https://fearsoff.org))

---

## 🛡️ Mitigation

If you're running Roundcube ≤ 1.6.10, update to the latest patched version immediately to eliminate this vulnerability.

---

## 📜 License

This project and associated documentation are provided under the MIT License.
File Snapshot

[4.0K] /data/pocs/5a1d1ee58d0c1641807ca9785cd083acd57e943d ├── [ 10K] CVE-2025-49113.php ├── [4.7K] rc_install.sh └── [1.9K] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →