Amazon Linux AMI:postgresql92/postgresql93、postgresql94 (ALAS-2016-747)

high Nessus 插件 ID 93539

简介

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

描述

在 PostgreSQL 服务器处理某些含有 CASE/WHEN 命令的 SQL 语句的方式中发现一个缺陷。经身份验证的远程攻击者可使用特制的 SQL 语句,造成 PostgreSQL 崩溃,或泄露几个字节的服务器内存,或可能执行任意代码。(CVE-2016-5423)

在 PostgreSQL 客户端程序处理含有新行、回车符、双引号或反斜线的数据库与角色名称的方式中发现缺陷。通过构建这类对象名称,拥有 CREATEDB 或 CREATEROLE 选项的角色可在超级用户下次使用有漏洞的客户端程序执行维护时,将其权限提升为超级用户。(CVE-2016-5424)

解决方案

运行 'yum update postgresql92' 以更新系统。

运行 'yum update postgresql93' 以更新系统。

运行 'yum update postgresql94' 以更新系统。

另见

https://alas.aws.amazon.com/ALAS-2016-747.html

插件详情

严重性: High

ID: 93539

文件名: ala_ALAS-2016-747.nasl

版本: 2.6

类型: local

代理: unix

发布时间: 2016/9/16

最近更新时间: 2018/4/18

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: Medium

基本分数: 6.5

矢量: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS v3

风险因素: High

基本分数: 8.3

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

漏洞信息

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

必需的 KB 项: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

补丁发布日期: 2016/9/15

参考资料信息

CVE: CVE-2016-5423, CVE-2016-5424

ALAS: 2016-747