Amazon Linux AMI : postgresql95 / postgresql96 (ALAS-2017-930)

high Nessus Plugin ID 105054

概要

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

說明

在 PostgreSQL 的初始化指令碼中發現權限提升缺陷。具有 postgres 使用者帳戶存取權限的遠端攻擊者可利用這些缺陷取得伺服器電腦上的 root 存取權限。(CVE-2017-12172) PostgreSQL 中的 INSERT ... ON CONFLICT DO UPDATE 命令會洩漏叫用程式缺少讀取權限的表格內容。這些惡意利用僅會影響攻擊者缺少完整讀取存取權限,但同時擁有 INSERT 和 UPDATE 權限的表格。惡意利用會繞過資料列層級的安全性原則且缺少 SELECT 權限。(CVE-2017-15099) PostgreSQL 中無效的 json_populate_recordset 或 jsonb_populate_recordset 函式呼叫可使伺服器當機,或洩漏數個位元組的伺服器記憶體。(CVE-2017-15098)

解決方案

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

另請參閱

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

Plugin 詳細資訊

嚴重性: High

ID: 105054

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

版本: 3.8

類型: local

代理程式: unix

已發布: 2017/12/7

已更新: 2018/4/18

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: High

基本分數: 7.2

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

CVSS v3

風險因素: High

基本分數: 8.1

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

弱點資訊

CPE: 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, p-cpe:/a:amazon:linux:postgresql96, p-cpe:/a:amazon:linux:postgresql96-contrib, p-cpe:/a:amazon:linux:postgresql96-debuginfo, p-cpe:/a:amazon:linux:postgresql96-devel, p-cpe:/a:amazon:linux:postgresql96-docs, p-cpe:/a:amazon:linux:postgresql96-libs, p-cpe:/a:amazon:linux:postgresql96-plperl, p-cpe:/a:amazon:linux:postgresql96-plpython26, p-cpe:/a:amazon:linux:postgresql96-plpython27, p-cpe:/a:amazon:linux:postgresql96-server, p-cpe:/a:amazon:linux:postgresql96-static, p-cpe:/a:amazon:linux:postgresql96-test, cpe:/o:amazon:linux

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

修補程式發佈日期: 2017/12/5

參考資訊

CVE: CVE-2017-12172, CVE-2017-15098, CVE-2017-15099

ALAS: 2017-930