Amazon Linux AMI:postgresql8 (ALAS-2012-94)

medium Nessus Plugin ID 69701

概要

遠端 Amazon Linux AMI 主機缺少安全性更新。

說明

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

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

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

解決方案

執行「yum update postgresql8」以更新系統。

另請參閱

https://alas.aws.amazon.com/ALAS-2012-94.html

Plugin 詳細資訊

嚴重性: Medium

ID: 69701

檔案名稱: ala_ALAS-2012-94.nasl

版本: 1.5

類型: local

代理程式: unix

已發布: 2013/9/4

已更新: 2018/4/18

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

風險資訊

VPR

風險因素: Medium

分數: 4.0

CVSS v2

風險因素: Medium

基本分數: 4.3

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

弱點資訊

CPE: p-cpe:/a:amazon:linux:postgresql8, p-cpe:/a:amazon:linux:postgresql8-contrib, p-cpe:/a:amazon:linux:postgresql8-debuginfo, p-cpe:/a:amazon:linux:postgresql8-devel, p-cpe:/a:amazon:linux:postgresql8-docs, p-cpe:/a:amazon:linux:postgresql8-libs, p-cpe:/a:amazon:linux:postgresql8-plperl, p-cpe:/a:amazon:linux:postgresql8-plpython, p-cpe:/a:amazon:linux:postgresql8-pltcl, p-cpe:/a:amazon:linux:postgresql8-server, p-cpe:/a:amazon:linux:postgresql8-test, cpe:/o:amazon:linux

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

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

參考資訊

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

ALAS: 2012-94

RHSA: 2012:1037