判定
- 現在の判定
- Matched(該当)
- 攻撃条件
- 満たさない(AV・PR・UI がすべて N か)
- 攻撃能力
- 満たす(RCE・認証回避・シェル取得・root 取得のいずれか)
- 根拠
- AV:N / PR:L / UI:N(CNA・CVSS 3.1) / RCE / シェル取得
解説
- 概要
- pg_partman の複数の関数で、親テーブル名を SQL 文字列リテラルにエスケープせず埋め込むため、特定の例外処理経路で SQL インジェクションが発生します。
- 影響
- pg_partman_bgw が該当経路に達すると、注入した SQL が実行されます。既定では PostgreSQL スーパーユーザー権限でデータベース全体を侵害でき、PostgreSQL サービスアカウントとして OS コマンドを実行できます。
- 対象
- pg_partman 5.5.0 未満。
- 対策
- pg_partman 5.5.0 で修正済みです。
- 判定
- AV:N / PR:L / UI:N(CNA・CVSS 3.1) / RCE / シェル取得
CVSS 評価
| 出所 | 版 | AV / PR / UI | ベクトル | 出所側の更新日時 |
|---|---|---|---|---|
| CNA(採用) | 3.1 | AV:N / PR:L / UI:N | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | 2026-09-19 04:50 |
攻撃能力(AI 判定)
| RCE | 該当 |
| 認証回避 | 非該当 |
| シェル取得 | 該当 |
| root 取得 | 不明 |
根拠
-
RCE ・ CNA の説明文
If pg_partman_bgw reaches that path, the injected SQL executes with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, permitting database-wide compromise and operating-system command execution as the PostgreSQL service account.
-
認証回避 ・ CNA の説明文
A partman_user can create a parent-table name containing a single quote that terminates the literal and injects SQL when an affected exception path runs.
-
認証回避 ・ CNA の CVSS 評価
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
-
シェル取得 ・ CNA の説明文
permitting database-wide compromise and operating-system command execution as the PostgreSQL service account.
モデル gpt-6-luna ・ プロンプト 2026-10-10 ・ 2026-10-13 05:55 ・ 入力 SHA-256 39e4b2af6a13
一致した監視対象製品
-
PostgreSQL — 説明文で一致 (AI の判定: 影響を受けるか 非該当)
pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, when pg_jobmon is installed and part_config.jobmon is true, exception handlers in multiple pg_partman functions place p_parent_table verbatim inside a SQL string literal used to call pg_jobmon.add_job(). A partman_user can create a parent-table name containing a single quote that terminates the literal and injects SQL when an affected exception path runs. If pg_partman_bgw reaches that path, the injected SQL executes with pg_partman_bgw.role privileges, which default to PostgreSQL superuser, permitting database-wide compromise and operating-system command execution as the PostgreSQL service account. The persistent part_config row can trigger the escalation again on later maintenance ticks. This issue is fixed in version 5.5.0.
変更履歴
-
2026-09-19 05:17
- Matched(該当) と判定した
→ Matched(該当)