RHEL 5:postgresql (RHSA-2012:0677)

critical Nessus Plugin ID 59222

概要

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

說明

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

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

pg_dump 公用程式確實在其所產生 SQL 指令碼的註解中插入物件名稱。非特權資料庫使用者可建立名稱中包含後接 SQL 命令的新行字元的物件。在稍後還原備份轉儲存期間,特權使用者可能會執行此 SQL 命令,進而觸發特權提升攻擊。(CVE-2012-0868)

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

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

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

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

解決方案

根據 RHSA-2012:0677 中的指南更新 RHEL 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.25

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

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