XSS in PHP
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 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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.030 (86.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 86.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.030 · newest: 0.030 · change: 0.000
Affected products
- PHP — versions 5.5.0, 5.5.1, 5.5.2
Weakness classification (CWE)
References
- github.com/php/php-src/commit/996faf964bba1aec06b153b370a7f20d3dd2bb8b (Patch, Issue Tracking)
- lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html (vendor-advisory)
- lists.opensuse.org/opensuse-updates/2016-08/msg00003.html (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2016-2750.html (vendor-advisory)
- www.openwall.com/lists/oss-security/2016/06/20/3 (mailing-list, Patch, Mailing List)
- bugs.php.net/bug.php (Issue Tracking, Vendor Advisory)
- lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html (vendor-advisory)
Frequently asked questions
- What is CVE-2015-8935?
- CVE-2015-8935 is a medium-severity vulnerability in PHP, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2016-08-07.
- How severe is CVE-2015-8935?
- Medium severity. CVSS v3 base score is 6.1 out of 10.