判定
- 現在の判定
- Matched(該当)
- 攻撃条件
- 満たさない(AV・PR・UI がすべて N か)
- 攻撃能力
- 満たす(RCE・認証回避・シェル取得・root 取得のいずれか)
- 根拠
- AV:N / PR:L / UI:N(CNA・CVSS 3.1) / RCE
解説
- 概要
- 複数の操作が、書き込み可能な part_config.time_dncoder の値を識別子として適切に引用せず動的 SQL に埋め込むため、SQL インジェクションが発生します。
- 影響
- 必要な権限を持つロールが値を仕込み、影響を受ける処理がその値を使用すると、処理の権限で SQL が実行されます。データベース全体の侵害や、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:48 |
攻撃能力(AI 判定)
| RCE | 該当 |
| 認証回避 | 非該当 |
| シェル取得 | 不明 |
| root 取得 | 不明 |
根拠
-
RCE ・ CNA の説明文
successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account.
-
認証回避 ・ CNA の説明文
A role with the documented partman_user privileges can store SQL rather than a decoder function name.
モデル gpt-6-luna ・ プロンプト 2026-10-10 ・ 2026-10-13 05:55 ・ 入力 SHA-256 a0f6860522f7
一致した監視対象製品
-
PostgreSQL — 説明文で一致 (AI の判定: 影響を受けるか 非該当)
pg_partman is a PostgreSQL extension that manages partitioned tables by time or ID. Prior to 5.5.0, run_maintenance(), show_partitions(), show_partition_info(), undo_partition(), and partition_data_time() interpolate the writable part_config.time_dncoder text value without identifier quoting into dynamic SQL. A role with the documented partman_user privileges can store SQL rather than a decoder function name. When an affected operation later uses the poisoned value, including pg_partman_bgw maintenance for a text- or UUID-keyed set, the SQL executes with the operation's privileges, which can be the default PostgreSQL superuser background-worker role. The persistent row can restore elevated access on later ticks, and successful exploitation can permit database-wide compromise and operating-system command execution as the PostgreSQL service account. This issue is fixed in version 5.5.0.
変更履歴
-
2026-09-19 23:11
- Matched(該当) と判定した
→ Matched(該当)