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

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2006-10-06T00:00:00

Updated: 2018-10-17T20:57:01

Reserved: 2006-10-05T00:00:00


Link: CVE-2006-5178

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2006-10-10T04:06:00.000

Modified: 2018-10-30T16:25:35.747


Link: CVE-2006-5178

JSON object: View

cve-icon Redhat Information

No data.

CWE