概要
オブジェクトを作れる利用者が、DB の実行ユーザー権限でプログラムを実行できる。
元の説明(英語)を読む
Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
影響を受ける人
PostgreSQL 18.7 などより前の版の管理者
対策
- PostgreSQL を 18.7、17.12、16.16、15.20、14.25 のうち使用系統の版以降に更新する
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
- The Hacker News(報道)↗11/14
PoC
リンクだけを載せる。中身は確かめていない。