CVE-2006-5178
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
15- 20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html
- 22235 http://secunia.com/advisories/22235
- 22424 http://secunia.com/advisories/22424
- 1692 http://securityreason.com/securityalert/1692
- 1016977 http://securitytracker.com/id?1016977
- http://www.hardened-php.net/advisory_082006.132.html
- MDKSA-2006:185 http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
- http://www.neosecurityteam.net/index.php?action=advisories&id=26
- 20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability http://www.securityfocus.com/archive/1/447649/100/0/threaded
- 20061009 PHP open_basedir with symlink() function Race Condition PoC exploit http://www.securityfocus.com/archive/1/448020/100/0/threaded
- OpenPKG-SA-2006.023 http://www.securityfocus.com/archive/1/448953/100/0/threaded
- 20326 http://www.securityfocus.com/bid/20326
- TLSA-2006-38 http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
- ADV-2006-3901 http://www.vupen.com/english/advisories/2006/3901
- php-openbasedir-security-bypass(29340) https://exchange.xforce.ibmcloud.com/vulnerabilities/29340
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9b7fcce806af24d15294f67d64ad2de3f2e05aec3e131839edcf942bd89bbfc2
- Ingested
- 23 Sep 2026, 07:38:06 UTC
- Source record
- Official CVE record