
CVE-2025-55182 (React2Shell) スキャナー
Rapticore Security Research Team によって開発されたセキュリティ評価ツールキット。CVE-2025-55182(React2Shell)を含む React Server Components (RSC) の脆弱性を検出するためのもので、これは重大なリモートコード実行(RCE)脆弱性です。
このツールキットは、以下の2つの専門ツールを提供します:
| ツール | 説明 |
|---|---|
ore_rsc.py | 迅速な評価のための高速 RSC エンドポイントスキャナー |
ore_react2shell.py | サブドメイン列挙とレポート機能を備えた完全な評価スイート |
https://github.com/user-attachments/assets/5be7661b-515c-46b4-ade4-8e88fdff6528
テスト用 Next.js アプリケーションで CVE-2025-55182 (React2Shell) の脆弱性を検出するスキャナー。
CVE-2025-55182(React2Shell)は、React Server Components に影響を与える重大な RCE 脆弱性です:
| 影響を受けるパッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| react-server-dom-webpack | 19.0.0, 19.1.0, 19.1.1, 19.2.0 | 19.0.1, 19.1.2, 19.2.1+ |
| react-server-dom-parcel | 19.0.0, 19.1.0, 19.1.1, 19.2.0 | 19.0.1, 19.1.2, 19.2.1+ |
| react-server-dom-turbopack | 19.0.0, 19.1.0, 19.1.1, 19.2.0 | 19.0.1, 19.1.2, 19.2.1+ |
ore_rsc.py)ore_react2shell.py)# Clone the repository
git clone https://github.com/rapticore/ore_react2shell_scanner.git
cd ore_react2shell_scanner
# Create virtual environment
python3 -m venv env
source env/bin/activate # On Windows: env\Scripts\activate
# Install dependencies
pip install aiohttp jinja2
# Optional: Install subfinder for subdomain enumeration
go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
ore_rsc.py による高速スキャン# Single domain scan
python ore_rsc.py example.com
# Multiple domains
python ore_rsc.py example.com api.example.com
# Scan from file
python ore_rsc.py -f subdomains.txt
# Deep scan with extended paths
python ore_rsc.py example.com --deep
# Active verification (sends PoC payload)
python ore_rsc.py example.com --verify
# Safe side-channel check (non-exploitative)
python ore_rsc.py example.com --safe-check
# JSON output
python ore_rsc.py example.com --format json -o results.json
ore_react2shell.py による完全な評価# Full assessment with subdomain enumeration
# Results saved to: results/example_com_{timestamp}/
python ore_react2shell.py --domain example.com
# Use existing subdomain list
python ore_react2shell.py --domain example.com -f subdomains.txt
# Multiple root domains
python ore_react2shell.py --domain example.com --domain example.org
# With active verification
python ore_react2shell.py --domain example.com --verify
# Safe side-channel check
python ore_react2shell.py --domain example.com --safe-check
# Skip subdomain enumeration
python ore_react2shell.py --domain example.com --skip-enum
# Custom output directory
python ore_react2shell.py --domain example.com -o ./reports
レポートはドメインとタイムスタンプごとに自動的に整理されます:
results/
└── example_com_20250106_143052/
├── rsc_assessment.html # Interactive HTML report
├── rsc_assessment.json # Machine-readable JSON
├── rsc_assessment.csv # Spreadsheet format
└── rsc_assessment_executive_summary.txt # Text summary
| オプション | 説明 |
|---|---|
domains | スキャンするドメイン |
-f, --file | ドメインを含むファイル(1行に1つ) |
-c, --concurrency | 並行リクエスト数(デフォルト: 20) |
-t, --timeout | リクエストタイムアウト(秒単位、デフォルト: 25) |
--deep | 拡張パスを使用したディープスキャン |
--verify | アクティブな検証 - RCE PoC ペイロードを送信 |
--safe-check | 安全なサイドチャネル検証 |
--waf-bypass | ジャンクデータによる WAF バイパスモード |
-o, --output | 出力ファイルパス |
--format | 出力形式: console、json、csv |
| オプション | 説明 |
|---|---|
-d, --domain | 評価対象のドメイン(必須) |
-f, --file | サブドメインを含むファイル |
--skip-enum | サブドメイン列挙をスキップ |
-c, --concurrency | 並行リクエスト数(デフォルト: 30) |
--deep | 拡張パスを使用したディープスキャン |
--verify | アクティブな検証モード |
--safe-check | 安全なサイドチャネル検証 |
-o, --output | ベース出力ディレクトリ(デフォルト: results) |
--format | 出力形式: html、json、csv、txt、all |
スキャナーは、不安定なサーバーに対処するための堅牢な検証ロジックを実装しています:
スキャナーは以下の方法で RSC エンドポイントを検出します:
text/x-component, text/x-rsc, text/x-flightx-nextjs-cache, rsc, next-action など0:, 1:)、React 参照 ($)$ACTION_ID、formAction 属性| リスクレベル | 基準 |
|---|---|
| CRITICAL | --verify による悪用が確認された |
| HIGH | --safe-check により脆弱性の可能性が高い |
| MEDIUM | Server Action を備えた RSC エンドポイント |
| LOW | RSC エンドポイントが検出された |
| INFO | RSC の指標が存在する |
脆弱なエンドポイントが検出された場合:
react-server-dom-* を修正済みバージョン (19.0.1、19.1.2、19.2.1+) にアップグレードするこのツールは認可されたセキュリティ評価専用です。所有しているドメイン、または明示的な書面によるテスト許可を得たドメインでのみ使用してください。
Rapticore Security Research Team は、不正使用に対する責任を負いません。
Rapticore Security Research Team によって開発