Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.2.10 |
Related Weaknesses (CWE)
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html
- http://news.php.net/php.announce/79
- http://secunia.com/advisories/37412Vendor Advisory
- http://secunia.com/advisories/37821
- http://securityreason.com/securityalert/6600Exploit
- http://support.apple.com/kb/HT4077
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/posix/posix.c?view=lo
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/posix/posix.c?view=lo
- http://svn.php.net/viewvc?view=revision&revision=288943Patch
- 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
- http://www.openwall.com/lists/oss-security/2009/11/20/2Patch
- http://www.openwall.com/lists/oss-security/2009/11/20/3Patch
- http://www.openwall.com/lists/oss-security/2009/11/20/5Patch
FAQ
What is CVE-2009-3558?
CVE-2009-3558 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 pathna...
How severe is CVE-2009-3558?
CVE-2009-3558 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2009-3558?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php.