# MailDev 2.1.0 RCE Exploit
**CVE-2024-27448**
MailDev 2 through 2.1.0 allows Remote Code Execution via a crafted Content-ID header for an e-mail attachment, leading to lib/mailserver.js writing arbitrary code into the routes.js file.
## Setup vulnerable environment
```bash
python3 exploit.py
```
References:
- [CVE-2024-27448](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-27448)
For legal testing purposes only. Use at your own risk. I take no liability for damages.
[4.0K] /data/pocs/c8b6981aa08f0dea445b3b0647d9e573645e3fdf
├── [5.7K] exploit.py
└── [ 489] README.md
0 directories, 2 files