CVE-2006-5178: Race Condition
Race condition in the symlink function in PHP 5.1.6 and earlier allows local users to bypass the openbasedir restriction by using a combination of symlink, mkdir, and unlink functions to change the file path after the openbasedir 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 Software
Event History
Frequently Asked Questions
What is the vulnerability description of CVE-2006-5178?
CVE-2006-5178 describes a race condition in the symlink function in PHP versions up to 5.1.6 that allows local users to bypass the open_basedir restriction.
What PHP versions are affected by CVE-2006-5178?
CVE-2006-5178 affects PHP versions 4.0 to 5.1.6, including various subversions and release candidates.
How can I mitigate CVE-2006-5178?
To mitigate CVE-2006-5178, it is recommended to upgrade to PHP version 5.1.7 or later, which addresses this vulnerability.
What are the risks associated with CVE-2006-5178?
The risk associated with CVE-2006-5178 is that a local user could bypass security restrictions, potentially gaining unauthorized access to files.
Is CVE-2006-5178 a critical vulnerability?
CVE-2006-5178 is considered a serious vulnerability as it can be exploited by local users to compromise system security.