中危 PHP up to 5.4.37/5.5.21/5.6.5 main/SAPI.c header 跨站脚本攻击

CVE编号

CVE-2015-8935

利用情况

POC 已公开

补丁情况

官方补丁

披露时间

2016-08-07
漏洞描述
PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。PHP 5.4.38之前的版本、5.5.22之前的5.5.x版本和5.6.6之前的5.6.x版本中的main/SAPI.c文件中的‘sapi_header_op’函数存在安全漏洞。
解决建议
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
http://php.net/ChangeLog-5.php
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 php php * Up to
(including)
5.4.37
运行在以下环境
应用 php php 5.5.0 -
运行在以下环境
应用 php php 5.5.1 -
运行在以下环境
应用 php php 5.5.10 -
运行在以下环境
应用 php php 5.5.11 -
运行在以下环境
应用 php php 5.5.12 -
运行在以下环境
应用 php php 5.5.13 -
运行在以下环境
应用 php php 5.5.14 -
运行在以下环境
应用 php php 5.5.18 -
运行在以下环境
应用 php php 5.5.19 -
运行在以下环境
应用 php php 5.5.2 -
运行在以下环境
应用 php php 5.5.20 -
运行在以下环境
应用 php php 5.5.21 -
运行在以下环境
应用 php php 5.5.3 -
运行在以下环境
应用 php php 5.5.4 -
运行在以下环境
应用 php php 5.5.5 -
运行在以下环境
应用 php php 5.5.6 -
运行在以下环境
应用 php php 5.5.7 -
运行在以下环境
应用 php php 5.5.8 -
运行在以下环境
应用 php php 5.5.9 -
运行在以下环境
应用 php php 5.6.0 -
运行在以下环境
应用 php php 5.6.1 -
运行在以下环境
应用 php php 5.6.2 -
运行在以下环境
应用 php php 5.6.3 -
运行在以下环境
应用 php php 5.6.4 -
运行在以下环境
应用 php php 5.6.5 -
运行在以下环境
系统 debian DPKG * Up to
(excluding)
5.6.6+dfsg-1
运行在以下环境
系统 opensuse_13.2 apache2-mod_php5 * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5 * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-bcmath * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-ctype * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-curl * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-dba * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-devel * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-dom * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-enchant * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-fileinfo * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-firebird * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-ftp * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-gd * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-gettext * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-gmp * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-iconv * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-json * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-mbstring * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-mcrypt * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-mssql * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-opcache * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-pcntl * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-pdo * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-pear * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-pgsql * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-phar * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-posix * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-pspell * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-readline * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-shmop * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-snmp * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-sockets * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-sqlite * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-sysvmsg * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-sysvsem * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-sysvshm * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-tidy * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-tokenizer * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-wddx * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-xmlreader * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-xmlrpc * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-xmlwriter * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-xsl * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-zip * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_13.2 php5-zlib * Up to
(excluding)
5.6.1-69.1
运行在以下环境
系统 opensuse_Leap_42.1 apache2-mod_php5 * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5 * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-bcmath * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-ctype * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-curl * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-dba * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-devel * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-dom * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-enchant * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-fileinfo * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-firebird * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-ftp * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-gd * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-gettext * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-gmp * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-iconv * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-json * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-mbstring * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-mcrypt * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-mssql * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-opcache * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-pcntl * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-pdo * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-pear * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-pgsql * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-phar * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-posix * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-pspell * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-readline * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-shmop * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-snmp * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-sockets * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-sqlite * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-sysvmsg * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-sysvsem * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-sysvshm * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-tidy * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-tokenizer * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-wddx * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-xmlreader * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-xmlrpc * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-xmlwriter * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-xsl * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-zip * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-zlib * Up to
(excluding)
5.5.14-56.1
运行在以下环境
系统 sles_11_SP4 apache2-mod_php5 * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5 * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-bcmath * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-ctype * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-curl * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-dba * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-devel * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-dom * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-enchant * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-fileinfo * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-firebird * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-ftp * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-gd * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-gettext * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-gmp * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-iconv * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-json * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-mbstring * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-mcrypt * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-mssql * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-opcache * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-pcntl * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-pdo * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-pear * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-pgsql * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-phar * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-posix * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-pspell * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-readline * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-shmop * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-snmp * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-sockets * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-sqlite * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-sysvmsg * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-sysvsem * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-sysvshm * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-tidy * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-tokenizer * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-wddx * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-xmlreader * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-xmlrpc * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-xmlwriter * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-xsl * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-zip * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_11_SP4 php5-zlib * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 sles_12 apache2-mod_php5 * Up to
(excluding)
5.5.14-68
运行在以下环境
系统 suse_11_SP4 php5 * Up to
(excluding)
5.3.17-74.1
运行在以下环境
系统 suse_12 apache2-mod_php5 * Up to
(excluding)
5.5.14-68
运行在以下环境
系统 ubuntu_12.04.5_lts php5 * Up to
(excluding)
5.3.10-1ubuntu3.24
运行在以下环境
系统 ubuntu_12.04_lts php5 * Up to
(excluding)
5.3.10-1ubuntu3.24
运行在以下环境
系统 ubuntu_14.04 php5 * Up to
(excluding)
5.5.9+dfsg-1ubuntu4.19
运行在以下环境
系统 ubuntu_14.04.6_lts php5 * Up to
(excluding)
5.5.9+dfsg-1ubuntu4.19
运行在以下环境
系统 ubuntu_14.04_lts php5 * Up to
(excluding)
5.5.9+dfsg-1ubuntu4.19
运行在以下环境
系统 ubuntu_16.04.7_lts php7.0 * Up to
(excluding)
7.0.4-7ubuntu2.1
运行在以下环境
系统 ubuntu_16.04_lts php7.0 * Up to
(excluding)
7.0.4-7ubuntu2.1
阿里云评分
4.4
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    POC 已公开
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况