The tempnam function in ext/standard/file.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass safe_mode restrictions, and create files in group-writable or world-writable directories, via the dir and prefix arguments.
CVSS Details
- CVSS 3.1 Base Score: 8.2
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Apple Osx Php | — | Upgrade macOS to the latest version | Dec 16, 2011 | Nov 23, 2009 |
| Freebsd | — | Upgrade php5 | Dec 10, 2025 | Dec 17, 2009 |
| Gentoo Linux | — | Upgrade dev-lang/php. | Oct 30, 2017 | Nov 23, 2009 |
| Hpux | — | Update hpuxwsAPCH32.PHP to the latest versionUpdate hpuxwsAPCH32.PHP2 to the latest versionUpdate hpuxws22APACHE.PHP to the latest versionUpdate hpuxws22APCH32.PHP2 to the latest versionUpdate hpuxws22APCH32.PHP to the latest versionUpdate hpuxwsAPACHE.PHP to the latest versionUpdate hpuxws22APACHE.PHP2 to the latest versionUpdate hpuxwsAPACHE.PHP2 to the latest version | Aug 11, 2017 | Nov 23, 2009 |
| Php | — | Upgrade to PHP version 5.2.12Upgrade to PHP version 5.3.1 | Oct 1, 2012 | Nov 23, 2009 |
| Ubuntu | — | Upgrade php5-cgiUpgrade php5-cliUpgrade libapache2-mod-php5 | Nov 8, 2024 | Nov 23, 2009 |
Prioritise 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