RHEL 5 / 6 : postgresql and postgresql84 (RHSA-2012:0678)

critical Nessus Plugin ID 59223

概要

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

說明

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

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

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

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

當設定為執行 SSL 憑證驗證時,PostgreSQL 只檢查了憑證「共用名稱」欄位的前面 31 個字元。根據不同的組態,這個問題可使攻擊者模擬使用由信任的憑證授權單位核發出不同名稱之憑證的伺服器或用戶端。(CVE-2012-0867)

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

這些更新版套件將 PostgreSQL 升級至 8.4.11 版,可以修正這些問題和多個資料損毀問題,以及次要的非安全性問題。如需完整的變更清單,請參閱 PostgreSQL 版本資訊:

http://www.postgresql.org/docs/8.4/static/release.html

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

解決方案

更新受影響的套件。

另請參閱

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

http://www.postgresql.org/docs/8.4/static/release.html

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

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=797915

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

Plugin 詳細資訊

嚴重性: Critical

ID: 59223

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

版本: 1.26

類型: 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-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql-plpython, p-cpe:/a:redhat:enterprise_linux:postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql-server, p-cpe:/a:redhat:enterprise_linux:postgresql-test, p-cpe:/a:redhat:enterprise_linux:postgresql84, p-cpe:/a:redhat:enterprise_linux:postgresql84-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql84-devel, p-cpe:/a:redhat:enterprise_linux:postgresql84-docs, p-cpe:/a:redhat:enterprise_linux:postgresql84-libs, p-cpe:/a:redhat:enterprise_linux:postgresql84-plperl, p-cpe:/a:redhat:enterprise_linux:postgresql84-plpython, p-cpe:/a:redhat:enterprise_linux:postgresql84-pltcl, p-cpe:/a:redhat:enterprise_linux:postgresql84-python, p-cpe:/a:redhat:enterprise_linux:postgresql84-server, p-cpe:/a:redhat:enterprise_linux:postgresql84-tcl, p-cpe:/a:redhat:enterprise_linux:postgresql84-test, cpe:/o:redhat:enterprise_linux:5, cpe:/o:redhat:enterprise_linux:6

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

可輕鬆利用: No known exploits are available

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

弱點發布日期: 2012/7/18

參考資訊

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

BID: 52188

RHSA: 2012:0678