Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2006-5178

Back to Search

PHP Vulnerability: CVE-2006-5178

Severity
6
CVSS
(AV:L/AC:H/Au:N/C:C/I:C/A:C)
Published
10/10/2006
Created
07/25/2018
Added
10/01/2012
Modified
07/21/2021

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.

Solution(s)

  • php-upgrade-5_2_0

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;