Free and open-source vulnerability scanner

Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.

Install Now

Available for macOS, Windows, and Linux

App screenshot

CVE-2006-5178

CVE information

Published

17 years ago

Last Modified

5 years ago

CVSSv2.0 Severity

Medium

Impact Analysis

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..

CVSSv2.0 Score

Severity
Medium
Base Score
6.2/10
Exploit Score
1.9/10
Access Vector
Local
Access Complexity
High
Authentication Required
None
Impact Score
10/10
Confidentiality Impact
Complete
Availability Impact
Complete
Integrity Impact
Complete

Products Affected

CPE Affected Vulnerable Excluding Edit
cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
  Yes
- -
cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*
  Yes
- -