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

high Nessus 插件 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

插件详情

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