What’s Vulnerable › Vulnerabilities
CVE-2009-3558
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2009-11-23 · updated 2026-06-16
- Weakness: CWE-264
Description
The posix_mkfifo function in ext/posix/posix.c in PHP before 5.2.12 and 5.3.x before 5.3.1 allows context-dependent attackers to bypass open_basedir restrictions, and create FIFO files, via the pathname and mode arguments, as demonstrated by creating a .htaccess file.
Affected products
- PHP: through 5.2.10; 1.0, 2.0, 2.0b10, 3.0, 3.0.1, 3.0.2 (+54)
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://news.php.net/php.announce/79
- http://secunia.com/advisories/37412
- http://secunia.com/advisories/37821
- http://securityreason.com/securityalert/6600
- http://support.apple.com/kb/HT4077
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/posix/posix.c?view=log
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/posix/posix.c?view=log
- http://svn.php.net/viewvc?view=revision&revision=288943
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:285
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:302
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:303
Get alerted when CVE-2009-3558 or the next vulnerability affects your stack