CVE-2006-5178
- State
- Published
- Severity
- Not scored
- Published
- Oct 6, 2006
- Updated
- Aug 7, 2024
- Reserved
- Oct 5, 2006
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- 20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerabilitymailing-list
- OpenPKG-SA-2006.023vendor-advisory
- 20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerabilitymailing-list
- TLSA-2006-38vendor-advisory
- 20326vdb-entry
- 1692third-party-advisory
- http://www.neosecurityteam.net/index.php?action=advisories&id=26
- 22235third-party-advisory
- 20061009 PHP open_basedir with symlink() function Race Condition PoC exploitmailing-list
- ADV-2006-3901vdb-entry
- php-openbasedir-security-bypass(29340)vdb-entry
- MDKSA-2006:185vendor-advisory
- http://www.hardened-php.net/advisory_082006.132.html
- 1016977vdb-entry
- 22424third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.