CVE-2015-8935
MEDIUM
6.1
CVSS 3.0
Description
The sapi_header_op function in main/SAPI.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 supports deprecated line folding without considering browser compatibility, which allows remote attackers to conduct cross-site scripting (XSS) attacks against Internet Explorer by leveraging (1) %0A%20 or (2) %0D%0A%20 mishandling in the header function.
Affected products and versions
- PHP — Up to and including 5.4.37
- PHP versions 5.5.0, 5.5.0alpha1, 5.5.0alpha2, 5.5.0alpha3, 5.5.0alpha4, 5.5.0alpha5, 5.5.0alpha6, 5.5.0beta1, 5.5.0beta2, 5.5.0beta3, 5.5.0beta4, 5.5.0rc1, 5.5.0rc2, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 5.5.7, 5.5.8, 5.5.9, 5.5.10, 5.5.11, 5.5.12, 5.5.13, 5.5.14, 5.5.18, 5.5.19, 5.5.20, 5.5.21, 5.6.0alpha1, 5.6.0alpha2, 5.6.0alpha3, 5.6.0alpha4, 5.6.0alpha5, 5.6.0beta1, 5.6.0beta2, 5.6.0beta3, 5.6.0beta4, 5.6.1, 5.6.2, 5.6.3, 5.6.4, 5.6.5
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2750.html
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/06/20/3 Mailing List, Patch
- bugs.php.net https://bugs.php.net/bug.php?id=68978 Issue Tracking, Vendor Advisory
- github.com https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1 Issue Tracking, Patch
- nvd.nist.gov Official NVD record