CVE-2015-8935 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 re...
MediumCVSS 6.1
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.4.37 | No fix listed |
| PHP | = 5.5.0 | No fix listed |
| PHP | = 5.5.0-alpha1 | No fix listed |
| PHP | = 5.5.0-alpha2 | No fix listed |
| PHP | = 5.5.0-alpha3 | No fix listed |
| PHP | = 5.5.0-alpha4 | No fix listed |
| PHP | = 5.5.0-alpha5 | No fix listed |
| PHP | = 5.5.0-alpha6 | No fix listed |
| PHP | = 5.5.0-beta1 | No fix listed |
| PHP | = 5.5.0-beta2 | No fix listed |
| PHP | = 5.5.0-beta3 | No fix listed |
| PHP | = 5.5.0-beta4 | No fix listed |
| PHP | = 5.5.0-rc1 | No fix listed |
| PHP | = 5.5.0-rc2 | No fix listed |
| PHP | = 5.5.1 | No fix listed |
| PHP | = 5.5.2 | No fix listed |
| PHP | = 5.5.3 | No fix listed |
| PHP | = 5.5.4 | No fix listed |
| PHP | = 5.5.5 | No fix listed |
| PHP | = 5.5.6 | No fix listed |
| PHP | = 5.5.7 | No fix listed |
| PHP | = 5.5.8 | No fix listed |
| PHP | = 5.5.9 | No fix listed |
| PHP | = 5.5.10 | No fix listed |
| PHP | = 5.5.11 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.5.12 | No fix listed |
| PHP | = 5.5.13 | No fix listed |
| PHP | = 5.5.14 | No fix listed |
| PHP | = 5.5.18 | No fix listed |
| PHP | = 5.5.19 | No fix listed |
| PHP | = 5.5.20 | No fix listed |
| PHP | = 5.5.21 | No fix listed |
| PHP | = 5.6.0-alpha1 | No fix listed |
| PHP | = 5.6.0-alpha2 | No fix listed |
| PHP | = 5.6.0-alpha3 | No fix listed |
| PHP | = 5.6.0-alpha4 | No fix listed |
| PHP | = 5.6.0-alpha5 | No fix listed |
| PHP | = 5.6.0-beta1 | No fix listed |
| PHP | = 5.6.0-beta2 | No fix listed |
| PHP | = 5.6.0-beta3 | No fix listed |
| PHP | = 5.6.0-beta4 | No fix listed |
| PHP | = 5.6.1 | No fix listed |
| PHP | = 5.6.2 | No fix listed |
| PHP | = 5.6.3 | No fix listed |
| PHP | = 5.6.4 | No fix listed |
| PHP | = 5.6.5 | No fix listed |
References
- openSUSE-SU-2016:1761 vendor-advisory
- SUSE-SU-2016:2013 vendor-advisory
- openSUSE-SU-2016:1922 vendor-advisory
- RHSA-2016:2750 vendor-advisory
- [oss-security] 20160620 CVE request for PHP bug #68978: "XSS in header() with Internet Explorer" (2015) mailing-list patch
- bugs.php.net issue-tracking vendor-advisory
- github.com issue-tracking patch