First published: Fri Oct 06 2006(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | <=5.1.6 | |
PHP PHP | =4.0 | |
PHP PHP | =4.0.1 | |
PHP PHP | =4.0.1-patch1 | |
PHP PHP | =4.0.1-patch2 | |
PHP PHP | =4.0.2 | |
PHP PHP | =4.0.3-patch1 | |
PHP PHP | =4.0.4 | |
PHP PHP | =4.0.5 | |
PHP PHP | =4.0.6 | |
PHP PHP | =4.0.7 | |
PHP PHP | =4.0.7-rc1 | |
PHP PHP | =4.0.7-rc2 | |
PHP PHP | =4.0.7-rc3 | |
PHP PHP | =4.1.0 | |
PHP PHP | =4.1.1 | |
PHP PHP | =4.1.2 | |
PHP PHP | =4.2 | |
PHP PHP | =4.2.0 | |
PHP PHP | =4.2.1 | |
PHP PHP | =4.2.2 | |
PHP PHP | =4.2.3 | |
PHP PHP | =4.3.0 | |
PHP PHP | =4.3.1 | |
PHP PHP | =4.3.2 | |
PHP PHP | =4.3.3 | |
PHP PHP | =4.3.4 | |
PHP PHP | =4.3.5 | |
PHP PHP | =4.3.6 | |
PHP PHP | =4.3.7 | |
PHP PHP | =4.3.8 | |
PHP PHP | =4.3.9 | |
PHP PHP | =4.3.10 | |
PHP PHP | =4.3.11 | |
PHP PHP | =4.4.0 | |
PHP PHP | =4.4.1 | |
PHP PHP | =4.4.2 | |
PHP PHP | =4.4.3 | |
PHP PHP | =4.4.4 | |
PHP PHP | =5.0-rc1 | |
PHP PHP | =5.0-rc2 | |
PHP PHP | =5.0-rc3 | |
PHP PHP | =5.0.0 | |
PHP PHP | =5.0.1 | |
PHP PHP | =5.0.2 | |
PHP PHP | =5.0.3 | |
PHP PHP | =5.0.4 | |
PHP PHP | =5.0.5 | |
PHP PHP | =5.1.0 | |
PHP PHP | =5.1.1 | |
PHP PHP | =5.1.2 | |
PHP PHP | =5.1.3 | |
PHP PHP | =5.1.4 | |
PHP PHP | =5.1.5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.