RHEL 9 : postgresql:15 (RHSA-2024:1314)

high Nessus Plugin ID 192039

概要

遠端 Red Hat 主機缺少 postgresql:15 的安全性更新。

說明

遠端 Redhat Enterprise Linux 9 主機上安裝的多個套件受到 RHSA-2024:1314 公告中提及的一個弱點影響。

- PostgreSQL 的 REFRESH MATERIALIZED VIEW CONCURRENTLY 中存在後期特權降低問題,物件建立者可藉此以命令簽發者的身分執行任意 SQL 函式。此命令會以具體化檢視擁有者的身分執行 SQL 函式,以安全方式重新整理不受信任的具體化檢視。受害者是超級使用者或攻擊者角色的成員。此攻擊需要誘騙受害者在攻擊者的具體化檢視中執行 REFRESH MATERIALIZED VIEW CONCURRENTLY。在惡意利用此弱點的過程中,攻擊者會建立使用 CREATE RULE 將內部構建的暫存資料表轉換為檢視的函式。PostgreSQL 15.6、14.11、13.14 和 12.18 之前的版本均會受到影響。唯一已知的惡意利用在 PostgreSQL 16 和更新版本中未正常運作。針對深度防禦,PostgreSQL 16.2 新增了較舊分支用來修正其弱點的保護。(CVE-2024-0985)

請注意,Nessus 並未測試此問題,而是僅依據應用程式自我報告的版本號碼作出判斷。

解決方案

依據 RHSA-2024:1314 中的指南更新 RHEL postgresql:15 套件。

另請參閱

http://www.nessus.org/u?01d20110

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=2263384

https://access.redhat.com/errata/RHSA-2024:1314

Plugin 詳細資訊

嚴重性: High

ID: 192039

檔案名稱: redhat-RHSA-2024-1314.nasl

版本: 1.1

類型: local

代理程式: unix

已發布: 2024/3/13

已更新: 2024/4/28

支援的感應器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 9

時間分數: 6.7

媒介: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS 評分資料來源: CVE-2024-0985

CVSS v3

風險因素: High

基本分數: 8

時間分數: 7

媒介: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:U/RL:O/RC:C

弱點資訊

CPE: cpe:/o:redhat:rhel_eus:9.2, p-cpe:/a:redhat:enterprise_linux:pg_repack, p-cpe:/a:redhat:enterprise_linux:pgaudit, p-cpe:/a:redhat:enterprise_linux:postgres-decoderbufs, p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql-plpython3, p-cpe:/a:redhat:enterprise_linux:postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql-private-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-private-libs, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-server-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-static, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:postgresql-test-rpm-macros, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade, p-cpe:/a:redhat:enterprise_linux:postgresql-upgrade-devel

必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2024/3/13

弱點發布日期: 2024/2/8

參考資訊

CVE: CVE-2024-0985

CWE: 271

IAVB: 2024-B-0009

RHSA: 2024:1314