Back to CVE catalog
CVE-2015-8935

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

Attack complexityLow
ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS summary v3.0

6.1Medium
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 and affected versions
Vendor:phpphpAffected versions:
≤ 5.4.37Show full version range for php
5.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:redhatphp
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-bcmath
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-bcmath
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-cli
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-cli
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-common
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-common
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-dba
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-dba
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-devel
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-devel
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-embedded
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-embedded
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-enchant
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-enchant
  • Other versions are affected by default; consult the source for exceptions.
Vendor:redhatphp-fpm
Environments (1)
  • cpe:/o:redhat:enterprise_linux:6
Affected versions:
Range not specifiedShow full version range for php-fpm
  • Other versions are affected by default; consult the source for exceptions.

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:N
redhat · 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:N
canonical · 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:N
nvd · 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:N
Red 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:N
SUSE · 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:N
redhat · 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:N
nvd · 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:N
Red 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:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories22

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