判定
- 現在の判定
- Matched(該当)
- 攻撃条件
- 満たさない(AV・PR・UI がすべて N か)
- 攻撃能力
- 満たす(RCE・認証回避・シェル取得・root 取得のいずれか)
- 根拠
- AV:N / PR:L / UI:N(CNA・CVSS 4.0) / RCE / シェル取得
解説
- 概要
- Excel データソース設定の tableName 値を安全に処理せず保存し、データソース削除時の SQL に補間することで発生する二次 SQL インジェクションです。
- 影響
- 認証済みユーザーが、SQLBot コンテナ内で postgres プロセスの権限による任意の OS コマンド実行を行える可能性があります。
- 対象
- SQLBot 1.9.0 未満。
- 対策
- SQLBot 1.9.0 に修正済みです。
- 判定
- AV:N / PR:L / UI:N(CNA・CVSS 4.0) / RCE / シェル取得
CVSS 評価
| 出所 | 版 | AV / PR / UI | ベクトル | 出所側の更新日時 |
|---|---|---|---|---|
| CNA(採用) | 4.0 | AV:N / PR:L / UI:N | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | 2026-09-18 06:41 |
攻撃能力(AI 判定)
| RCE | 該当 |
| 認証回避 | 非該当 |
| シェル取得 | 該当 |
| root 取得 | 不明 |
根拠
-
RCE ・ CNA の説明文
This second-order SQL injection can invoke PostgreSQL COPY TO PROGRAM and execute arbitrary operating-system commands with the privileges of the postgres process inside the SQLBot container.
-
認証回避 ・ CNA の説明文
an authenticated user can supply a crafted sheet["tableName"] value
-
シェル取得 ・ CNA の説明文
execute arbitrary operating-system commands with the privileges of the postgres process inside the SQLBot container.
モデル gpt-6-luna ・ プロンプト 2026-10-10 ・ 2026-10-13 05:54 ・ 入力 SHA-256 ca2a259712a2
一致した監視対象製品
-
PostgreSQL — 説明文で一致 (AI の判定: 影響を受けるか 非該当)
SQLBot is an intelligent Text-to-SQL system based on large language models and RAG. Prior to 1.9.0, an authenticated user can supply a crafted sheet["tableName"] value in the Excel datasource configuration submitted through POST /api/v1/datasource/, and SQLBot stores that value without safe identifier handling. When the same datasource is later removed through DELETE /api/v1/datasource/{id}, the stored value is interpolated into datasource cleanup SQL and executed by PostgreSQL. This second-order SQL injection can invoke PostgreSQL COPY TO PROGRAM and execute arbitrary operating-system commands with the privileges of the postgres process inside the SQLBot container. This issue is fixed in version 1.9.0.
変更履歴
-
2026-09-22 10:54
- Matched(該当) と判定した
→ Matched(該当)