CVE-2006-5178

UnknownEPSS 0.64%

Last modified

CVE-2006-5178 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.64% chance of exploitation in the next 30 days.

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

EPSS Probability
0.64%

45.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
PhpPhp<= 5.1.6
PhpPhp4.0
PhpPhp4.0.1
PhpPhp4.0.2
PhpPhp4.0.3Patch1
PhpPhp4.0.4
PhpPhp4.0.5
PhpPhp4.0.6
PhpPhp4.0.7
PhpPhp4.1.0
PhpPhp4.1.1
PhpPhp4.1.2
PhpPhp4.2
PhpPhp4.2.0
PhpPhp4.2.1
PhpPhp4.2.2
PhpPhp4.2.3
PhpPhp4.3.0
PhpPhp4.3.1
PhpPhp4.3.2
PhpPhp4.3.3
PhpPhp4.3.4
PhpPhp4.3.5
PhpPhp4.3.6
PhpPhp4.3.7
PhpPhp4.3.8
PhpPhp4.3.9
PhpPhp4.3.10
PhpPhp4.3.11
PhpPhp4.4.0
PhpPhp4.4.1
PhpPhp4.4.2
PhpPhp4.4.3
PhpPhp4.4.4
PhpPhp5.0Rc1
PhpPhp5.0.0
PhpPhp5.0.1
PhpPhp5.0.2
PhpPhp5.0.3
PhpPhp5.0.4
PhpPhp5.0.5
PhpPhp5.1.0
PhpPhp5.1.1
PhpPhp5.1.2
PhpPhp5.1.3
PhpPhp5.1.4
PhpPhp5.1.5

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2006-5178?
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.
How severe is CVE-2006-5178?
Severity scoring for CVE-2006-5178 is pending analysis. The EPSS model estimates a 0.64% probability of exploitation in the next 30 days.
How do I fix CVE-2006-5178?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2006-5178?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST