← All CVEs

CVE-2015-4025

high · 7.5

PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character in certain situations, which allows remote attackers to bypass intended extension restrictions and access files or directories with unexpected names via a crafted argument to (1) set_include_path, (2) tempnam, (3) rmdir, or (4) readlink. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

7.5
CVSS
19.5%
EPSS (exploit prob.)
97th
EPSS percentile
2015-06-09
Published

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

Weaknesses

CWE-19

Affected products

VendorProductAffected versions
applemac_os_x<= 10.10.4
phpphp<= 5.4.40
phpphp5.4.39
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.1
phpphp5.5.2
phpphp5.5.3
phpphp5.5.4
phpphp5.5.5
phpphp5.5.6
phpphp5.5.7
phpphp5.5.8
phpphp5.5.9
phpphp5.5.10
phpphp5.5.11
phpphp5.5.12
phpphp5.5.13
phpphp5.5.14
phpphp5.5.18
phpphp5.5.19
phpphp5.5.20
phpphp5.5.21
phpphp5.5.22
phpphp5.5.23
phpphp5.5.24
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2015-4025