CVEvulnerability
CVE-2015-8935
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2016-08-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.1 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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 configurations
• php php (<= 5.4.37)
• php php 5.5.0
• php php 5.5.1
• php php 5.5.2
• 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.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.20
• php php 5.5.21
• 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
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- 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 lists.opensuse.org
- http://rhn.redhat.com/errata/RHSA-2016-2750.html rhn.redhat.com
- http://www.openwall.com/lists/oss-security/2016/06/20/3 Mailing List, Patch
- https://bugs.php.net/bug.php?id=68978 Issue Tracking, Vendor Advisory
- https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1 Issue Tracking, Patch
- 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 lists.opensuse.org
- http://rhn.redhat.com/errata/RHSA-2016-2750.html rhn.redhat.com
- http://www.openwall.com/lists/oss-security/2016/06/20/3 Mailing List, Patch
- https://bugs.php.net/bug.php?id=68978 Issue Tracking, Vendor Advisory
- https://github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b?w=1 Issue Tracking, Patch