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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Freebsd | — | Upgrade php5Upgrade php5-dtcUpgrade mod_php5Upgrade php4-cliUpgrade php4-nmsUpgrade php5-hordeUpgrade php4Upgrade mod_php4Upgrade php-suhosinUpgrade php5-nmsUpgrade php5-cgiUpgrade php4-cgiUpgrade php5-cliUpgrade php4-dtcUpgrade php4-horde | Dec 10, 2025 | Oct 5, 2006 |
| Php | — | Upgrade to PHP version 5.2.0 | Oct 1, 2012 | Oct 10, 2006 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub