CVE-2006-5178

N/A
Published: October 6, 2006 at 12:00 AM UTC
Updated: June 16, 2026 at 10:30 PM UTC
1 product affected across 1 vendorPHP

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.7%

Description

Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the open_basedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the open_basedir check and before the file is opened by the underlying system, as demonstrated by symlinking a symlink into a subdirectory, to point to a parent directory via .. (dot dot) sequences, and then unlinking the resulting symlink.

Affected

References (15)

Third Party Advisoryx_refsource_SECUNIAExploitVendor Advisory
http://secunia.com/advisories/22235
Third Party Advisoryx_refsource_SECUNIA
http://secunia.com/advisories/22424
Third Party Advisoryx_refsource_SREASON
http://securityreason.com/securityalert/1692
VDB Entryx_refsource_SECTRACKExploit
http://securitytracker.com/id?1016977

CVSS

Confidentiality
COMPLETE
Integrity
COMPLETE
Availability
COMPLETE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card