National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2006-5178 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

Vendor Statements (disclaimer)

Official Statement from Red Hat (12/04/2006)

We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html Exploit
http://securityreason.com/securityalert/1692
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
http://www.neosecurityteam.net/index.php?action=advisories&id=26
http://www.securityfocus.com/archive/1/447649/100/0/threaded
http://www.securityfocus.com/archive/1/448020/100/0/threaded
http://www.securityfocus.com/archive/1/448953/100/0/threaded
http://www.securityfocus.com/bid/20326 Exploit
http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
http://www.vupen.com/english/advisories/2006/3901
https://exchange.xforce.ibmcloud.com/vulnerabilities/29340

Weakness Enumeration

CWE-ID CWE Name Source
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
5.1.6


Change History

5 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2006-5178
NVD Published Date:
10/10/2006
NVD Last Modified:
10/30/2018