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

high Nessus 插件 ID 105054

简介

远程 Amazon Linux AMI 主机缺少安全更新。

描述

PostgreSQL 初始化脚本中发现权限提升缺陷。可访问 postgres 用户帐户的远程攻击者,可利用这些缺陷获得服务器计算机上的根访问。(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

插件详情

严重性: 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