Amazon Linux AMI : php56 (ALAS-2017-808)

critical Nessus 插件 ID 99035

简介

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

描述

在 GD 图形库(亦即 libgd)2.2.4 之前版本的 gd_io.c 中存在的整数溢出,可让远程攻击者通过涉及图像中水平和垂直区块数目的向量,造成不明影响。(CVE-2016-10168) 在 PHP 5.6.30 之前版本、7.0.15 之前的 7.0.x 和 7.1.1 之前的 7.1.x 版本中,ext/standard/var_unserializer.c 内的 object_common1 函数可让远程攻击者通过在 finish_nested_data 调用中不当处理的特制序列化数据,造成拒绝服务(缓冲区过度读取和应用程序崩溃)。(CVE-2016-10161) 在 PHP 5.6.30 之前版本和 7.0.15 之前 7.0.x 版本的 ext/phar/phar.c 中,phar_parse_pharfile 函数内的差一错误可让远程攻击者通过别名不符的特制 PHAR 存档文件,造成拒绝服务(内存损坏)或可能执行任意代码。(CVE-2016-10160) 据发现,PHP 中的 exif_convert_any_to_int() 函数在解析图像文件中的标志时,容易遭受浮点异常。能够上传恶意图像的远程攻击者可损坏 PHP,进而造成拒绝服务。(CVE-2016-10158) 在 PHP 5.6.30 之前版本和 7.0.15 之前 7.0.x 版本的 ext/phar/phar.c 中,phar_parse_pharfile 函数内整数溢出可让远程攻击者通过 PHAR 存档文件中截断的清单项,造成拒绝服务(内存消耗或应用程序崩溃)。(CVE-2016-10159) 在 GD 图形库(亦即 libgd)2.2.4 之前版本中,gd_gd2.c 内的 gdImageCreateFromGd2Ctx 函数可让远程攻击者通过特制的图像文件,造成拒绝服务(应用程序崩溃)。(CVE-2016-10167)

解决方案

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

另见

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

插件详情

严重性: Critical

ID: 99035

文件名: ala_ALAS-2017-808.nasl

版本: 3.2

类型: local

代理: unix

发布时间: 2017/3/30

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

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

风险信息

VPR

风险因素: Medium

分数: 5.9

CVSS v2

风险因素: High

基本分数: 7.5

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

CVSS v3

风险因素: Critical

基本分数: 9.8

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

漏洞信息

CPE: p-cpe:/a:amazon:linux:php56-debuginfo, p-cpe:/a:amazon:linux:php56-devel, p-cpe:/a:amazon:linux:php56-embedded, p-cpe:/a:amazon:linux:php56-enchant, p-cpe:/a:amazon:linux:php56-fpm, p-cpe:/a:amazon:linux:php56-gd, p-cpe:/a:amazon:linux:php56-gmp, p-cpe:/a:amazon:linux:php56-imap, p-cpe:/a:amazon:linux:php56-intl, p-cpe:/a:amazon:linux:php56-ldap, p-cpe:/a:amazon:linux:php56-mbstring, p-cpe:/a:amazon:linux:php56-mcrypt, p-cpe:/a:amazon:linux:php56-mssql, p-cpe:/a:amazon:linux:php56-mysqlnd, p-cpe:/a:amazon:linux:php56-odbc, p-cpe:/a:amazon:linux:php56-opcache, p-cpe:/a:amazon:linux:php56-pdo, p-cpe:/a:amazon:linux:php56-pgsql, p-cpe:/a:amazon:linux:php56-process, p-cpe:/a:amazon:linux:php56-pspell, p-cpe:/a:amazon:linux:php56-recode, p-cpe:/a:amazon:linux:php56-snmp, p-cpe:/a:amazon:linux:php56-soap, p-cpe:/a:amazon:linux:php56-tidy, p-cpe:/a:amazon:linux:php56-xml, p-cpe:/a:amazon:linux:php56-xmlrpc, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:php56, p-cpe:/a:amazon:linux:php56-bcmath, p-cpe:/a:amazon:linux:php56-cli, p-cpe:/a:amazon:linux:php56-common, p-cpe:/a:amazon:linux:php56-dba, p-cpe:/a:amazon:linux:php56-dbg

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

补丁发布日期: 2017/3/28

参考资料信息

CVE: CVE-2016-10158, CVE-2016-10159, CVE-2016-10160, CVE-2016-10161, CVE-2016-10167, CVE-2016-10168

ALAS: 2017-808