RHEL 5 : postgresql (RHSA-2012:0677)

critical Nessus Plugin ID 59222

概要

遠端 Red Hat 主機缺少一個或多個安全性更新。

說明

現已提供適用於 Red Hat Enterprise Linux 5 的更新版 postgresql 套件,可修正兩個安全性問題。

Red Hat 安全性回應團隊已將此更新評等為具有中等安全性影響。可針對每個弱點從〈參照〉一節的 CVE 連結中取得常見弱點評分系統 (CVSS) 的基本分數,其中包含有關嚴重性評等的詳細資訊。

PostgreSQL 是一種進階物件關聯式資料庫管理系統 (DBMS)。

pg_dump 公用程式確實在其所產生 SQL 指令碼的註解中插入物件名稱。無權限的資料庫使用者可建立一個物件,其名稱包含後面接上 SQL 命令的新行字元。
在稍後還原備份轉儲存期間,這個 SQL 命令可能接著由有權限的使用者執行,進而達到權限提升。
(CVE-2012-0868)

CREATE TRIGGER 未對所要呼叫的觸發函式進行權限檢查。這可能使經過驗證的資料庫使用者在其選擇的資料上呼叫有權限的觸發函式。
(CVE-2012-0866)

建議所有 PostgreSQL 使用者皆升級至這些更新版套件,其中包含可更正這些問題的反向移植修補程式。如果 postgresql 服務正在執行中,在安裝此更新之後,它會自動重新啟動。

解決方案

更新受影響的套件。

另請參閱

http://www.nessus.org/u?b91399bb

https://access.redhat.com/errata/RHSA-2012:0677

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

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

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

Plugin 詳細資訊

嚴重性: Critical

ID: 59222

檔案名稱: redhat-RHSA-2012-0677.nasl

版本: 1.24

類型: local

代理程式: unix

已發布: 2012/5/22

已更新: 2024/4/27

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: Medium

基本分數: 6.8

時間分數: 5

媒介: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS 評分資料來源: CVE-2012-0868

CVSS v3

風險因素: Critical

基本分數: 10

時間分數: 8.7

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

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

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-libs, p-cpe:/a:redhat:enterprise_linux:postgresql-pl, p-cpe:/a:redhat:enterprise_linux:postgresql-python, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-tcl, p-cpe:/a:redhat:enterprise_linux:postgresql-test, cpe:/o:redhat:enterprise_linux:5

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2012/5/21

參考資訊

CVE: CVE-2012-0866, CVE-2012-0868

BID: 52188

RHSA: 2012:0677