CVEvulnerability
CVE-2006-5178
6.2 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2006-10-10
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.2 MEDIUM — AV:L/AC:H/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-362
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.
Affected configurations
• php php (<= 5.1.6)
• php php 4.0
• php php 4.0.1
• php php 4.0.2
• php php 4.0.3
• 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
• 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
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html Exploit
- http://secunia.com/advisories/22235 Exploit, Vendor Advisory
- http://secunia.com/advisories/22424 secunia.com
- http://securityreason.com/securityalert/1692 securityreason.com
- http://securitytracker.com/id?1016977 Exploit
- http://www.hardened-php.net/advisory_082006.132.html Exploit, Vendor Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:185 www.mandriva.com
- http://www.neosecurityteam.net/index.php?action=advisories&id=26 www.neosecurityteam.net
- http://www.securityfocus.com/archive/1/447649/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/archive/1/448020/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/archive/1/448953/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/20326 Exploit
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt www.turbolinux.com
- http://www.vupen.com/english/advisories/2006/3901 www.vupen.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29340 exchange.xforce.ibmcloud.com
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html Exploit
- http://secunia.com/advisories/22235 Exploit, Vendor Advisory
- http://secunia.com/advisories/22424 secunia.com
- http://securityreason.com/securityalert/1692 securityreason.com
- http://securitytracker.com/id?1016977 Exploit
- http://www.hardened-php.net/advisory_082006.132.html Exploit, Vendor Advisory
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:185 www.mandriva.com
- http://www.neosecurityteam.net/index.php?action=advisories&id=26 www.neosecurityteam.net
- http://www.securityfocus.com/archive/1/447649/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/archive/1/448020/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/archive/1/448953/100/0/threaded www.securityfocus.com
- http://www.securityfocus.com/bid/20326 Exploit
- http://www.turbolinux.com/security/2006/TLSA-2006-38.txt www.turbolinux.com
- http://www.vupen.com/english/advisories/2006/3901 www.vupen.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/29340 exchange.xforce.ibmcloud.com