Amazon Linux AMI : postgresql93 / postgresql94、postgresql95 (ALAS-2018-1079)

high Nessus Plugin ID 117603

概要

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

說明

在 libpq 無法正確重設其連線間的內部狀態所在的預設 PostgreSQL 用戶端程式庫 libpq 中發現一個弱點。如果受影響的 libpq 版本搭配未受信任輸入中的「host」或「hostaddr」連線參數使用,攻擊者可藉由造成 PQescape() 函式發生錯誤,繞過用戶端連線安全性功能、取得對較高權限連線的存取權,或可能透過 SQL 插入造成其他影響。(CVE-2018-10915) 據發現,PostgreSQL 無法針對包含「INSERT ... ON CONFLICT DO UPDATE」的某些陳述式,正確檢查授權。具有「CREATE TABLE」權限的攻擊者可惡意利用此問題,讀取任意位元組伺服器記憶體。如果攻擊者也有特定「INSERT」,並將「UPDATE」權限限制為特定表格,則可惡意利用此問題,更新相同表格中的其他欄。(CVE-2018-10925)

解決方案

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

另請參閱

https://alas.aws.amazon.com/ALAS-2018-1079.html

Plugin 詳細資訊

嚴重性: High

ID: 117603

檔案名稱: ala_ALAS-2018-1079.nasl

版本: 1.3

類型: local

代理程式: unix

已發布: 2018/9/20

已更新: 2018/10/19

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

風險資訊

VPR

風險因素: Medium

分數: 6.0

CVSS v2

風險因素: Medium

基本分數: 6

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

CVSS v3

風險因素: High

基本分數: 8.1

媒介: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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

修補程式發佈日期: 2018/9/19

參考資訊

CVE: CVE-2018-10915, CVE-2018-10925

ALAS: 2018-1079