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.

Project Subscriptions

Vendors Products
Mac Os X Subscribe
Enterprise Linux Subscribe
Enterprise Linux Desktop Subscribe
Enterprise Linux Hpc Node Subscribe
Enterprise Linux Hpc Node Eus Subscribe
Enterprise Linux Server Subscribe
Enterprise Linux Server Eus Subscribe
Enterprise Linux Workstation Subscribe
Rhel Software Collections Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-307-1 php5 security update
Debian DSA Debian DSA DSA-3280-1 php5 security update
EUVD EUVD EUVD-2015-4053 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.
Ubuntu USN Ubuntu USN USN-2658-1 PHP vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T06:04:02.539Z

Reserved: 2015-05-18T00:00:00.000Z

Link: CVE-2015-4025

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2015-06-09T18:59:07.723

Modified: 2025-04-12T10:46:40.837

Link: CVE-2015-4025

cve-icon Redhat

Severity : Moderate

Publid Date: 2015-04-10T00:00:00Z

Links: CVE-2015-4025 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses