U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2006-5178 Detail

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

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment 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://lists.grok.org.uk/pipermail/full-disclosure/2006-October/049850.html Exploit 
http://secunia.com/advisories/22235 Exploit  Vendor Advisory 
http://secunia.com/advisories/22235 Exploit  Vendor Advisory 
http://secunia.com/advisories/22424
http://secunia.com/advisories/22424
http://securityreason.com/securityalert/1692
http://securityreason.com/securityalert/1692
http://securitytracker.com/id?1016977 Exploit 
http://securitytracker.com/id?1016977 Exploit 
http://www.hardened-php.net/advisory_082006.132.html Exploit  Vendor Advisory 
http://www.hardened-php.net/advisory_082006.132.html Exploit  Vendor Advisory 
http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
http://www.mandriva.com/security/advisories?name=MDKSA-2006:185
http://www.neosecurityteam.net/index.php?action=advisories&id=26
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/447649/100/0/threaded
http://www.securityfocus.com/archive/1/448020/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/archive/1/448953/100/0/threaded
http://www.securityfocus.com/bid/20326 Exploit 
http://www.securityfocus.com/bid/20326 Exploit 
http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
http://www.vupen.com/english/advisories/2006/3901
http://www.vupen.com/english/advisories/2006/3901
https://exchange.xforce.ibmcloud.com/vulnerabilities/29340
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') cwe source acceptance level NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

7 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2006-5178
NVD Published Date:
10/10/2006
NVD Last Modified:
11/20/2024
Source:
MITRE