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.
CVSS Details
- CVSS 3.1 Base Score: 5.1
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Freebsd | — | Upgrade mod_php4Upgrade php4Upgrade php4-cliUpgrade php5Upgrade php5-hordeUpgrade php5-dtcUpgrade mod_php5Upgrade php4-nmsUpgrade php5-nmsUpgrade php5-cgiUpgrade php5-cliUpgrade php4-cgiUpgrade php4-hordeUpgrade php4-dtcUpgrade php-suhosin | Dec 10, 2025 | Oct 5, 2006 |
| Php | — | Upgrade to PHP version 5.2.0 | Oct 1, 2012 | Oct 10, 2006 |
Prioritize with Active Threat Intelligence
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