Mission and Overview
NVD is the U.S. government repository of standards based vulnerability management data. This data enables automation of vulnerability management, security measurement, and compliance (e.g. FISMA).
Resource Status
NVD contains:
CVE Vulnerabilities
38433
Checklists
128
US-CERT Alerts
179
US-CERT Vuln Notes
2345
OVAL Queries
2517
CPE Names
17819

Last updated: Tue Aug 25 17:15:32 EDT 2009

CVE Publication rate: 17.47

Email List

NVD provides four mailing lists to the public. For information and subscription instructions please visit NVD Mailing Lists

Workload Index

Vulnerability Workload Index: 10.37

About Us
NVD is a product of the NIST Computer Security Division and is sponsored by the Department of Homeland Security's National Cyber Security Division. It supports the U.S. government multi-agency (OSD, DHS, NSA, DISA, and NIST) Information Security Automation Program. It is the U.S. government content repository for the Security Content Automation Protocol (SCAP).

National Cyber-Alert System

Vulnerability Summary for CVE-2006-5178

Original release date:10/10/2006
Last revised:09/05/2008
Source: US-CERT/NIST

Overview

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.

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:2.6 (LOW) (AV:L/AC:H/Au:N/C:P/I:P/A:N) (legend)
Impact Subscore: 4.9
Exploitability Subscore: 1.9
CVSS Version 2 Metrics:
Access Vector: Locally exploitable
Access Complexity: High
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information; Allows unauthorized modification

Vendor Statments (disclaimer)

Official Statement from Red Hat (12/04/2006)
We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

External Source: XF
Name: php-openbasedir-security-bypass(29340)
External Source: BID
Name: 20326
External Source: BUGTRAQ
Name: 20061009 PHP open_basedir with symlink() function Race Condition PoC exploit
External Source: BUGTRAQ
Name: 20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability
Type: Advisory
External Source: MISC
Name: http://www.neosecurityteam.net/index.php?action=advisories&id=26
External Source: MISC
Name: http://www.hardened-php.net/advisory_082006.132.html
Type: Advisory
External Source: VUPEN
Name: ADV-2006-3901
Type: Advisory
External Source: SECTRACK
Name: 1016977
External Source: SECUNIA
Name: 22235
Type: Advisory
External Source: FULLDISC
Name: 20061003 Advisory 08/2006: PHP open_basedir Race Condition Vulnerability
External Source: TURBO
Name: TLSA-2006-38
External Source: OPENPKG
Name: OpenPKG-SA-2006.023
External Source: MANDRIVA
Name: MDKSA-2006:185
External Source: SREASON
Name: 1692
External Source: SECUNIA
Name: 22424
External Source: MANDRIVA
Name: MDKSA-2006:185

Vulnerable software and versions

Nav control imageConfiguration 1
spacerNav control imageOR
spacerspacerNav control image* cpe:/a:php:php:4.0
spacerspacerNav control image* cpe:/a:php:php:4.0.1
spacerspacerNav control image* cpe:/a:php:php:4.0.1:patch1
spacerspacerNav control image* cpe:/a:php:php:4.0.1:patch2
spacerspacerNav control image* cpe:/a:php:php:4.0.2
spacerspacerNav control image* cpe:/a:php:php:4.0.3:patch1
spacerspacerNav control image* cpe:/a:php:php:4.0.4
spacerspacerNav control image* cpe:/a:php:php:4.0.5
spacerspacerNav control image* cpe:/a:php:php:4.0.6
spacerspacerNav control image* cpe:/a:php:php:4.0.7
spacerspacerNav control image* cpe:/a:php:php:4.0.7:rc1
spacerspacerNav control image* cpe:/a:php:php:4.0.7:rc2
spacerspacerNav control image* cpe:/a:php:php:4.0.7:rc3
spacerspacerNav control image* cpe:/a:php:php:4.1.0
spacerspacerNav control image* cpe:/a:php:php:4.1.1
spacerspacerNav control image* cpe:/a:php:php:4.1.2
spacerspacerNav control image* cpe:/a:php:php:4.2.0
spacerspacerNav control image* cpe:/a:php:php:4.2.1
spacerspacerNav control image* cpe:/a:php:php:4.2.2
spacerspacerNav control image* cpe:/a:php:php:4.2.3
spacerspacerNav control image* cpe:/a:php:php:4.2::dev
spacerspacerNav control image* cpe:/a:php:php:4.3
spacerspacerNav control image* cpe:/a:php:php:4.3.1
spacerspacerNav control image* cpe:/a:php:php:4.3.10
spacerspacerNav control image* cpe:/a:php:php:4.3.11
spacerspacerNav control image* cpe:/a:php:php:4.3.2
spacerspacerNav control image* cpe:/a:php:php:4.3.3
spacerspacerNav control image* cpe:/a:php:php:4.3.4
spacerspacerNav control image* cpe:/a:php:php:4.3.5
spacerspacerNav control image* cpe:/a:php:php:4.3.6
spacerspacerNav control image* cpe:/a:php:php:4.3.7
spacerspacerNav control image* cpe:/a:php:php:4.3.8
spacerspacerNav control image* cpe:/a:php:php:4.3.9
spacerspacerNav control image* cpe:/a:php:php:4.4.0
spacerspacerNav control image* cpe:/a:php:php:4.4.1
spacerspacerNav control image* cpe:/a:php:php:4.4.2
spacerspacerNav control image* cpe:/a:php:php:4.4.3
spacerspacerNav control image* cpe:/a:php:php:4.4.4
spacerspacerNav control image* cpe:/a:php:php:5.0.0
spacerspacerNav control image* cpe:/a:php:php:5.0.1
spacerspacerNav control image* cpe:/a:php:php:5.0.2
spacerspacerNav control image* cpe:/a:php:php:5.0.3
spacerspacerNav control image* cpe:/a:php:php:5.0.4
spacerspacerNav control image* cpe:/a:php:php:5.0.5
spacerspacerNav control image* cpe:/a:php:php:5.0:rc1
spacerspacerNav control image* cpe:/a:php:php:5.0:rc2
spacerspacerNav control image* cpe:/a:php:php:5.0:rc3
spacerspacerNav control image* cpe:/a:php:php:5.1
spacerspacerNav control image* cpe:/a:php:php:5.1.1
spacerspacerNav control image* cpe:/a:php:php:5.1.2
spacerspacerNav control image* cpe:/a:php:php:5.1.3
spacerspacerNav control image* cpe:/a:php:php:5.1.4
spacerspacerNav control image* cpe:/a:php:php:5.1.5
spacerspacerNav control image* cpe:/a:php:php:5.1.6 and previous versions
* Denotes Vulnerable Software

Technical Details

Vulnerability Type (View All)