CVE-2006-5178
Last modified
CVE-2006-5178 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Php | Php | <= 5.1.6 | — |
| Php | Php | 4.0 | — |
| Php | Php | 4.0.1 | — |
| Php | Php | 4.0.2 | — |
| Php | Php | 4.0.3 | Patch1 |
| Php | Php | 4.0.4 | — |
| Php | Php | 4.0.5 | — |
| Php | Php | 4.0.6 | — |
| Php | Php | 4.0.7 | — |
| Php | Php | 4.1.0 | — |
| Php | Php | 4.1.1 | — |
| Php | Php | 4.1.2 | — |
| Php | Php | 4.2 | — |
| Php | Php | 4.2.0 | — |
| Php | Php | 4.2.1 | — |
| Php | Php | 4.2.2 | — |
| Php | Php | 4.2.3 | — |
| Php | Php | 4.3.0 | — |
| Php | Php | 4.3.1 | — |
| Php | Php | 4.3.2 | — |
| Php | Php | 4.3.3 | — |
| Php | Php | 4.3.4 | — |
| Php | Php | 4.3.5 | — |
| Php | Php | 4.3.6 | — |
| Php | Php | 4.3.7 | — |
| Php | Php | 4.3.8 | — |
| Php | Php | 4.3.9 | — |
| Php | Php | 4.3.10 | — |
| Php | Php | 4.3.11 | — |
| Php | Php | 4.4.0 | — |
| Php | Php | 4.4.1 | — |
| Php | Php | 4.4.2 | — |
| Php | Php | 4.4.3 | — |
| Php | Php | 4.4.4 | — |
| Php | Php | 5.0 | Rc1 |
| Php | Php | 5.0.0 | — |
| Php | Php | 5.0.1 | — |
| Php | Php | 5.0.2 | — |
| Php | Php | 5.0.3 | — |
| Php | Php | 5.0.4 | — |
| Php | Php | 5.0.5 | — |
| Php | Php | 5.1.0 | — |
| Php | Php | 5.1.1 | — |
| Php | Php | 5.1.2 | — |
| Php | Php | 5.1.3 | — |
| Php | Php | 5.1.4 | — |
| Php | Php | 5.1.5 | — |
References
- http://secunia.com/advisories/22235Exploit, Vendor Advisory
- http://www.hardened-php.net/advisory_082006.132.htmlExploit, Vendor Advisory
- http://secunia.com/advisories/22235Exploit, Vendor Advisory
- http://www.hardened-php.net/advisory_082006.132.htmlExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2006-5178?
How severe is CVE-2006-5178?
How do I fix CVE-2006-5178?
Are you affected by CVE-2006-5178?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
