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

critical Nessus Plugin ID 59223

概要

遠端 Red Hat 主機缺少一個或多個 postgresql / postgresql84。

說明

遠端 Redhat Enterprise Linux 5 / 6 主機上安裝的套件受到 RHSA-2012:0678 公告中提及的多個弱點影響。

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 服務正在執行中,在安裝此更新之後,它會自動重新啟動。

Tenable 已直接從 Red Hat Enterprise Linux 安全公告擷取前置描述區塊。

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

解決方案

根據 RHSA-2012:0678 中的指南更新 RHEL postgresql / postgresql84 套件。

另請參閱

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.27

類型: local

代理程式: unix

已發布: 2012/5/22

已更新: 2024/11/4

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

風險資訊

VPR

風險因素: Medium

分數: 6.5

Vendor

Vendor Severity: Moderate

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

必要的 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