PHP header function line folding XSS
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 3.217%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.4.37Show full version range for php5.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.185.5.195.5.25.5.205.5.215.5.35.5.45.5.55.5.65.5.75.5.85.5.95.6.05.6.15.6.25.6.35.6.45.6.5 |
| Vendor:redhat | phpEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php
|
| Vendor:redhat | php-bcmathEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-bcmath
|
| Vendor:redhat | php-cliEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-cli
|
| Vendor:redhat | php-commonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-common
|
| Vendor:redhat | php-dbaEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-dba
|
| Vendor:redhat | php-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-devel
|
| Vendor:redhat | php-embeddedEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-embedded
|
| Vendor:redhat | php-enchantEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-enchant
|
| Vendor:redhat | php-fpmEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-fpm
|
1–10 of 265 · Page 1 of 27
CVSS scores and metrics10
[email protected] · NVD (Primary)Primary6.1 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nredhat · Wazuh CTI (adp)3.1 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:Ncanonical · Wazuh CTI (adp)6.1 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Nnvd · Wazuh CTI (cna)6.1 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NRed Hat · Red Hat VEX (adp)3.1 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NSUSE · SUSE VEX (adp)6.1 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Changed
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:Nredhat · Wazuh CTI (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:NRed Hat · Red Hat VEX (adp)2.6 / 10LowCVSS 2.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:H/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories22
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- lists.opensuse.org
- lists.opensuse.org
- openwall.com
- rhn.redhat.com
- lists.opensuse.org
- bugs.php.net
- github.com
- SUSE-SU-2016:1842-1
- SUSE-SU-2016:2080-1
- openSUSE-SU-2016:1761-1
- ubuntu.com
- ubuntu.com
- access.redhat.com
- SUSE CVE-2015-8935
- SUSE-SU-2016:2013-1
- Mitre CVE-2015-8935
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences