CVE-2006-5178
PHP Symlink Open_Basedir Bypass
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.
INFO
Published Date :
Oct. 10, 2006, 4:06 a.m.
Last Modified :
Nov. 21, 2024, 12:18 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
10.0
Exploitability Score :
1.9
Public PoC/Exploit Available at Github
CVE-2006-5178 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2006-5178
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
When PHP's open_basedir restriction is set, PHP disables the realpath cache for security reasons. This may hurt your application performance. The realpath_turbo PHP extension re-enables the realpath cache. Warning: This could be a security problem in your environment! Please read the README for further information.
Shell C M4 PHP
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2006-5178
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2006-5178
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CPE Deprecation Remap by [email protected]
Oct. 30, 2018
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:php:php:5.1:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* -
CPE Deprecation Remap by [email protected]
Oct. 30, 2018
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:php:php:4.3:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 17, 2018
Action Type Old Value New Value Removed Reference http://www.securityfocus.com/archive/1/archive/1/447649/100/0/threaded [Exploit, Vendor Advisory] Removed Reference http://www.securityfocus.com/archive/1/archive/1/448953/100/0/threaded [No Types Assigned] Removed Reference http://www.securityfocus.com/archive/1/archive/1/448020/100/0/threaded [No Types Assigned] Added Reference http://www.securityfocus.com/archive/1/448953/100/0/threaded [No Types Assigned] Added Reference http://www.securityfocus.com/archive/1/448020/100/0/threaded [No Types Assigned] Added Reference http://www.securityfocus.com/archive/1/447649/100/0/threaded [No Types Assigned] -
CVE Modified by [email protected]
Jul. 20, 2017
Action Type Old Value New Value Removed Reference http://xforce.iss.net/xforce/xfdb/29340 [Exploit] Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/29340 [No Types Assigned] -
Initial Analysis by [email protected]
Oct. 10, 2006
Action Type Old Value New Value
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2006-5178
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2006-5178
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.05 }} 0.00%
score
0.20929
percentile