Debian DLA-818-1:php5 安全更新

critical Nessus 插件 ID 97052

简介

远程 Debian 主机缺少安全更新。

描述

在 PHP(PHP: Hypertext Preprocessor 的递归缩写)中发现多个问题,PHP 是一种广泛使用的开源通用脚本语言,特别适合于 web 开发,并且可以嵌入 HTML。- CVE-2016-2554 ext/phar/tar.c 中存在基于堆栈的缓冲区溢出,允许远程攻击者通过特制的 TAR 存档造成拒绝服务(应用程序崩溃),或可能造成其他不明影响。- CVE-2016-3141 WDDX 扩展的 wddx.c 存在释放后使用漏洞,允许远程攻击者通过对包含特制 var 元素的 XML 数据触发 wddx_deserialize 调用,造成拒绝服务(内存损坏和应用程序崩溃),或可能造成其他不明影响。- CVE-2016-3142 在 PHP 低于 5.5.33 的版本和低于 5.6.19 的 5.6.x 的版本中,PHAR 扩展内 zip.c 的 phar_parse_zipfile 函数允许远程攻击者通过将 PK\x05\x06 签名放置在无效位置来获取进程内存中的敏感信息,或造成拒绝服务(越界读取和应用程序崩溃)。- CVE-2016-4342 PHP 低于 5.5.32 的版本、低于 5.6.18 的 5.6.x 版本和低于 7.0.3 的 7.x 版本中的 ext/phar/phar_object.c 错误处理零长度未压缩数据,其允许远程攻击者通过特制的 (1) TAR、(2) ZIP 或 (3) PHAR 存档,造成拒绝服务(堆内存损坏)或可能造成其他不明影响。- CVE-2016-9934 PHP 低于 5.6.28 的版本和低于 7.0.13 的 7.x 版本中的 ext/wddx/wddx.c 可让远程攻击者通过 wddxPacket XML 文件中的特制序列化数据,造成拒绝服务(空指针取消引用缺陷),这一点已由 PDORow 字符串证实。- CVE-2016-9935 在 PHP 低于 5.6.29 的版本和低于 7.0.14 的 7.x 版本中,ext/wddx/wddx.c 内的 php_wddx_push_element 函数可让远程攻击者通过 wddxPacket XML 文件中的空布尔元素,造成拒绝服务(越界读取和内存损坏),或可能造成其他不明影响。- CVE-2016-10158 在 PHP 低于 5.6.30 的版本、低于 7.0.15 的 7.0.x 版本和低于 7.1.1 的 7.1.x 版本中,ext/exif/exif.c 的 exif_convert_any_to_int 函数允许远程攻击者通过特制的 EXIF 数据触发将最小可表示负整数除以 -1 的尝试,造成拒绝服务(应用程序崩溃)。- CVE-2016-10159 在 PHP 5.6.30 之前版本和 7.0.15 之前 7.0.x 版本的 ext/phar/phar.c 中,phar_parse_pharfile 函数内整数溢出可让远程攻击者通过 PHAR 存档文件中截断的清单项,造成拒绝服务(内存消耗或应用程序崩溃)。-CVE-2016-10160 在 PHP 5.6.30 之前版本和 7.0.15 之前 7.0.x 版本的 ext/phar/phar.c 中,phar_parse_pharfile 函数内的差一错误可让远程攻击者通过别名不符的特制 PHAR 存档文件,造成拒绝服务(内存损坏)或可能执行任意代码。-CVE-2016-10161 在 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 调用中未正确处理的特制序列化数据,造成拒绝服务(缓冲区过度读取和应用程序崩溃)。- BUG-71323.patch 可通过 stream_get_meta_data 的输入伪造其输出 - BUG-70979.patch 发生错误 SOAP 请求时崩溃 - BUG-71039.patch exec 函数忽略长度,寻找空终止 - BUG-71459.patch iptcembed() 中存在整数溢出 - BUG-71391.patch phar_tar_setupmetadata() 中存在空指针取消引用 - BUG-71335.patch WDDX 数据包反序列化中存在类型混淆漏洞 对于 Debian 7“Wheezy”,这些问题已在版本 5.4.45-0+deb7u7 中修复。我们建议您升级 php5 程序包。注意:Tenable Network Security 已直接从 DLA 安全公告中提取上述描述块。Tenable 已尝试在不引入其他问题的情况下,尽可能进行自动整理和排版。

解决方案

升级受影响的程序包。

另见

https://lists.debian.org/debian-lts-announce/2017/02/msg00006.html

https://packages.debian.org/source/wheezy/php5

插件详情

严重性: Critical

ID: 97052

文件名: debian_DLA-818.nasl

版本: 3.7

类型: local

代理: unix

发布时间: 2017/2/8

最近更新时间: 2021/1/11

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

风险信息

VPR

风险因素: Medium

分数: 6.7

CVSS v2

风险因素: Critical

基本分数: 10

时间分数: 7.4

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

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 8.5

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

时间矢量: CVSS:3.0/E:U/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:debian:debian_linux:libapache2-mod-php5, p-cpe:/a:debian:debian_linux:libapache2-mod-php5filter, p-cpe:/a:debian:debian_linux:libphp5-embed, p-cpe:/a:debian:debian_linux:php-pear, p-cpe:/a:debian:debian_linux:php5, p-cpe:/a:debian:debian_linux:php5-cgi, p-cpe:/a:debian:debian_linux:php5-cli, p-cpe:/a:debian:debian_linux:php5-common, p-cpe:/a:debian:debian_linux:php5-curl, p-cpe:/a:debian:debian_linux:php5-dbg, p-cpe:/a:debian:debian_linux:php5-dev, p-cpe:/a:debian:debian_linux:php5-enchant, p-cpe:/a:debian:debian_linux:php5-fpm, p-cpe:/a:debian:debian_linux:php5-gd, p-cpe:/a:debian:debian_linux:php5-gmp, p-cpe:/a:debian:debian_linux:php5-imap, p-cpe:/a:debian:debian_linux:php5-interbase, p-cpe:/a:debian:debian_linux:php5-intl, p-cpe:/a:debian:debian_linux:php5-ldap, p-cpe:/a:debian:debian_linux:php5-mcrypt, p-cpe:/a:debian:debian_linux:php5-mysql, p-cpe:/a:debian:debian_linux:php5-mysqlnd, p-cpe:/a:debian:debian_linux:php5-odbc, p-cpe:/a:debian:debian_linux:php5-pgsql, p-cpe:/a:debian:debian_linux:php5-pspell, p-cpe:/a:debian:debian_linux:php5-recode, p-cpe:/a:debian:debian_linux:php5-snmp, p-cpe:/a:debian:debian_linux:php5-sqlite, p-cpe:/a:debian:debian_linux:php5-sybase, p-cpe:/a:debian:debian_linux:php5-tidy, p-cpe:/a:debian:debian_linux:php5-xmlrpc, p-cpe:/a:debian:debian_linux:php5-xsl, cpe:/o:debian:debian_linux:7.0

必需的 KB 项: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

易利用性: No known exploits are available

补丁发布日期: 2017/2/7

漏洞发布日期: 2016/3/31

参考资料信息

CVE: CVE-2016-10158, CVE-2016-10159, CVE-2016-10160, CVE-2016-10161, CVE-2016-2554, CVE-2016-3141, CVE-2016-3142, CVE-2016-4342, CVE-2016-9934, CVE-2016-9935