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

critical Nessus Plugin ID 59712

概要

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

說明

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

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

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

在選用 PostgreSQL pgcrypto contrib 模組中的 crypt() 密碼雜湊函式與 DES 演算法搭配使用來執行密碼轉換的方式中發現一個瑕疵。如果要雜湊的密碼字串包含 0x80 位元組值,則當計算雜湊時會忽略字串的其餘部分,從而明顯降低密碼的強度。這使得暴力密碼破解更有效,因為並不需要完整密碼即可取得受保護資源的存取權。(CVE-2012-2143)

注意:透過此更新,字串的剩餘部分會正確包含在 DES 雜湊中;因此,之前所儲存的密碼值中,受到此問題影響的所有密碼值將不再符合。在此類情況下,將需要更新這些儲存的密碼雜湊。

當套用 SECURITY DEFINER 或 SET 屬性至程序語言的 (例如 PL/Perl 或 PL/Python) 呼叫處置程式函式時,在 PostgreSQL 伺服器執行使用者權限檢查的方式中發現拒絕服務瑕疵。非超級使用者資料庫擁有者可利用此瑕疵造成 PostgreSQL 伺服器因無限遞迴而當機。(CVE-2012-2655)

上游確認 Rubin Xu 與 Joseph Bonneau 是 CVE-2012-2143 問題的原始報告者。

這些更新版套件將 PostgreSQL 升級至 8.4.12 版,可以修正這些問題以及一些非安全性問題。如需完整的變更清單,請參閱 PostgreSQL 版本資訊:

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

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

解決方案

更新受影響的套件。

另請參閱

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: Critical

ID: 59712

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

版本: 1.24

類型: local

代理程式: unix

已發布: 2012/6/26

已更新: 2024/4/21

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

風險資訊

VPR

風險因素: Medium

分數: 4.0

CVSS v2

風險因素: Medium

基本分數: 4.3

時間分數: 3.2

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

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

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/6/25

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

參考資訊

CVE: CVE-2012-2143, CVE-2012-2655

BID: 53729, 53812

RHSA: 2012:1037