Exploitation Summary
EIP tracks 1 public exploit for CVE-2006-5178.
AI-analyzed exploit summary This PHP script exploits a symlink() open_basedir bypass vulnerability in PHP 5.2.12 and 5.3.1 by creating a series of nested directories and symlinks to bypass directory restrictions. It allows an attacker to create arbitrary symlinks outside the intended directory, potentially leading to unauthorized file access.
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.
Exploits (1)
This PHP script exploits a symlink() open_basedir bypass vulnerability in PHP 5.2.12 and 5.3.1 by creating a series of nested directories and symlinks to bypass directory restrictions. It allows an attacker to create arbitrary symlinks outside the intended directory, potentially leading to unauthorized file access.