Back to CVE catalog
CVE-2015-4598

PHP pathname handling vulnerability

Multiple products

At a glance

PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read or write to arbitrary files via crafted input to an application that calls (1) a DOMDocument save method or (2) the GD imagepsloadfont function, as demonstrated by a filename\0.html attack that bypasses an intended configuration in which client users may write to only .html files.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS summary v3.0

6.5Medium
Published:
Updated:
EPSS:
3.764%
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.41Show full version range for php
5.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.155.5.165.5.175.5.185.5.195.5.25.5.205.5.215.5.225.5.235.5.245.5.255.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.55.6.65.6.75.6.85.6.9
Vendor:redhatenterprise linuxAffected versions:
6.0Show full version range for enterprise linux
7.0
Vendor:redhatenterprise linux desktopAffected versions:
7.0
Vendor:redhatenterprise linux hpc nodeAffected versions:
7.0
Vendor:redhatenterprise linux hpc node eusAffected versions:
7.1
Vendor:redhatenterprise linux serverAffected versions:
7.0
Vendor:redhatenterprise linux server eusAffected versions:
7.1
Vendor:redhatenterprise linux workstationAffected versions:
7.0
Vendor:oraclelinuxphp
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.3.3-46.el6_6
Vendor:oraclelinuxphp-bcmath
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.3.3-46.el6_6

1–10 of 418 · Page 1 of 42

CVSS scores and metrics7
[email protected] · NVD (Primary)Primary6.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
canonical · Wazuh CTI (adp)6.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
nvd · Wazuh CTI (cna)6.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
Low
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)4.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:N
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
Red Hat · Red Hat VEX (adp)4.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:N

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

Sources and advisories30

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