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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2006
- CVE-2006-5172Stack-based buffer overflow in the RPC interface in Mediasvr…
- CVE-2006-5173Linux kernel does not properly save or restore EFLAGS during…
- CVE-2006-5174The copy_from_user function in the uaccess code in Linux ker…
- CVE-2006-5175Cross-site request forgery (CSRF) vulnerability in the admin…
- CVE-2006-5176Buffer overflow in NTLM authentication in MailEnable Profess…
- CVE-2006-5177The NTLM authentication in MailEnable Professional 2.0 and E…
- CVE-2006-5179Intoto iGateway VPN and iGateway SSL-VPN allow context-depen…
- CVE-2006-5180PHP remote file inclusion vulnerability in include/main.inc.…
- CVE-2006-5181Multiple PHP remote file inclusion vulnerabilities in Joshua…
- CVE-2006-5182PHP remote file inclusion vulnerability in frontpage.php in …
- CVE-2006-5183Multiple PHP remote file inclusion vulnerabilities in Dayfox…
- CVE-2006-5184SQL injection vulnerability in PKR Internet Taskjitsu before…
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
