RHEL 4 / 5 / 6 : postgresql (RHSA-2011:1377)

medium Nessus Plugin ID 56533

概要

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

說明

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

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

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

當使用 Blowfish 雜湊時,在 PostgreSQL pgcrypto 模組 crypt() 處理密碼 8 位元字元的方式中發現一個正負號問題。最多三個字元緊跟在非 ASCII 字元 (包含高位元集的字元) 之前對於雜湊結果沒有任何影響,進而縮短有效密碼長度。這點使攻擊者的暴力密碼破解猜測速度更快,因為有數個不同的密碼都已雜湊成相同值。(CVE-2011-2483)

注意:因為 CVE-2011-2483 修正的關係,在安裝了此更新後,有些使用者可能無法登入將使用 PostgreSQL crypt() 函式來透過 Blowfish 雜湊之使用者密碼儲存到後端 PostgreSQL 資料庫中的應用程式。可透過將特定密碼的雜湊前置詞變更為「$2x$」,重新啟用不安全的處理 (允許受影響的使用者登入)。

若是 Red Hat Enterprise Linux 6,更新的 postgresql 套件會將 PostgreSQL 升級為版本 8.4.9。如需完整的變更清單,請參閱 PostgreSQL 版本資訊:

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

若是 Red Hat Enterprise Linux 4 及 5,更新版 postgresql 套件會包含反向移植修補程式。

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

解決方案

更新受影響的套件。

另請參閱

https://access.redhat.com/security/cve/cve-2011-2483

https://www.postgresql.org/docs/8.4/release.html

https://access.redhat.com/errata/RHSA-2011:1377

Plugin 詳細資訊

嚴重性: Medium

ID: 56533

檔案名稱: redhat-RHSA-2011-1377.nasl

版本: 1.19

類型: local

代理程式: unix

已發布: 2011/10/18

已更新: 2021/1/14

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

風險資訊

VPR

風險因素: Medium

分數: 4.7

CVSS v2

風險因素: Medium

基本分數: 5

時間分數: 3.7

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

弱點資訊

CPE: p-cpe:/a:redhat:enterprise_linux:postgresql, p-cpe:/a:redhat:enterprise_linux:postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:postgresql-debuginfo, p-cpe:/a:redhat:enterprise_linux:postgresql-devel, p-cpe:/a:redhat:enterprise_linux:postgresql-docs, p-cpe:/a:redhat:enterprise_linux:postgresql-jdbc, p-cpe:/a:redhat:enterprise_linux:postgresql-libs, p-cpe:/a:redhat:enterprise_linux:postgresql-pl, 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-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:4, cpe:/o:redhat:enterprise_linux:5, cpe:/o:redhat:enterprise_linux:6, cpe:/o:redhat:enterprise_linux:6.1

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

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2011/10/17

弱點發布日期: 2011/8/25

參考資訊

CVE: CVE-2011-2483

BID: 49241

RHSA: 2011:1377