CVE-2006-5178

N/A Unknown
Published: October 10, 2006 Modified: April 23, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
http://secunia.com/advisories/22235
Source: cve@mitre.org
Exploit Vendor Advisory
http://securitytracker.com/id?1016977
Source: cve@mitre.org
Exploit
http://www.hardened-php.net/advisory_082006.132.html
Source: cve@mitre.org
Exploit Vendor Advisory
http://www.securityfocus.com/bid/20326
Source: cve@mitre.org
Exploit
http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
http://secunia.com/advisories/22235
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Vendor Advisory
http://secunia.com/advisories/22424
Source: af854a3a-2127-422b-91ae-364da2661108
http://securityreason.com/securityalert/1692
Source: af854a3a-2127-422b-91ae-364da2661108
http://securitytracker.com/id?1016977
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
http://www.hardened-php.net/advisory_082006.132.html
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Vendor Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.neosecurityteam.net/index.php?action=advisories&id=26
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/archive/1/447649/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/archive/1/448020/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/archive/1/448953/100/0/threaded
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.securityfocus.com/bid/20326
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit
http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.vupen.com/english/advisories/2006/3901
Source: af854a3a-2127-422b-91ae-364da2661108
https://exchange.xforce.ibmcloud.com/vulnerabilities/29340
Source: af854a3a-2127-422b-91ae-364da2661108

30 reference(s) from NVD

Quick Stats

CVSS v3 Score
N/A / 10.0
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

php