Amazon Linux AMI:postgresql93/postgresql94、postgresql95 (ALAS-2017-839)

high Nessus Plugin ID 100640

概要

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

說明

選擇性評估繞過 SELECT 權限檢查

據發現,某些選擇性評估功能未在 pg_statistic 提供資訊之前檢查使用者權限,進而導致資訊洩露問題。無權限的攻擊者可利用此缺陷,從表格竊取其無權存取的某些資訊。(CVE-2017-7484)

libpq 忽略 PGREQUIRESSL 環境變數

據發現,PGREQUIRESSL 不再強制使用 SSL/TLS 連線到 PostgreSQL 伺服器。主動的攔截式攻擊者可利用此缺陷,去除用戶端和伺服器之間連線的 SSL/TLS 保護。(CVE-2017-7485)

pg_user_mappings 檢視洩漏外部伺服器密碼

據發現,來自 postgresql 的 pg_user_mappings 檢視畫面可能會將外部資料庫的使用者對應相關資訊洩漏給無權限的使用者。對此對應有 USAGE 權限的經驗證攻擊者可在查詢檢視畫面時,取得使用者對應資料,如用於連線至外部資料庫的使用者名稱和密碼。(CVE-2017-7486)

解決方案

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

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

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

另請參閱

https://alas.aws.amazon.com/ALAS-2017-839.html

Plugin 詳細資訊

嚴重性: High

ID: 100640

檔案名稱: ala_ALAS-2017-839.nasl

版本: 3.5

類型: local

代理程式: unix

已發布: 2017/6/7

已更新: 2018/4/18

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

風險資訊

VPR

風險因素: Low

分數: 3.6

CVSS v2

風險因素: Medium

基本分數: 5

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

CVSS v3

風險因素: High

基本分數: 7.5

媒介: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

弱點資訊

CPE: p-cpe:/a:amazon:linux:postgresql93, p-cpe:/a:amazon:linux:postgresql93-contrib, p-cpe:/a:amazon:linux:postgresql93-debuginfo, p-cpe:/a:amazon:linux:postgresql93-devel, p-cpe:/a:amazon:linux:postgresql93-docs, p-cpe:/a:amazon:linux:postgresql93-libs, p-cpe:/a:amazon:linux:postgresql93-plperl, p-cpe:/a:amazon:linux:postgresql93-plpython26, p-cpe:/a:amazon:linux:postgresql93-plpython27, p-cpe:/a:amazon:linux:postgresql93-pltcl, p-cpe:/a:amazon:linux:postgresql93-server, p-cpe:/a:amazon:linux:postgresql93-test, p-cpe:/a:amazon:linux:postgresql94, p-cpe:/a:amazon:linux:postgresql94-contrib, p-cpe:/a:amazon:linux:postgresql94-debuginfo, p-cpe:/a:amazon:linux:postgresql94-devel, p-cpe:/a:amazon:linux:postgresql94-docs, p-cpe:/a:amazon:linux:postgresql94-libs, p-cpe:/a:amazon:linux:postgresql94-plperl, p-cpe:/a:amazon:linux:postgresql94-plpython26, p-cpe:/a:amazon:linux:postgresql94-plpython27, p-cpe:/a:amazon:linux:postgresql94-server, p-cpe:/a:amazon:linux:postgresql94-test, p-cpe:/a:amazon:linux:postgresql95, p-cpe:/a:amazon:linux:postgresql95-contrib, p-cpe:/a:amazon:linux:postgresql95-debuginfo, p-cpe:/a:amazon:linux:postgresql95-devel, p-cpe:/a:amazon:linux:postgresql95-docs, p-cpe:/a:amazon:linux:postgresql95-libs, p-cpe:/a:amazon:linux:postgresql95-plperl, p-cpe:/a:amazon:linux:postgresql95-plpython26, p-cpe:/a:amazon:linux:postgresql95-plpython27, p-cpe:/a:amazon:linux:postgresql95-server, p-cpe:/a:amazon:linux:postgresql95-static, p-cpe:/a:amazon:linux:postgresql95-test, cpe:/o:amazon:linux

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

修補程式發佈日期: 2017/6/6

參考資訊

CVE: CVE-2017-7484, CVE-2017-7485, CVE-2017-7486

ALAS: 2017-839