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.
References
- [oss-security] 20091120 Re: CVE request: php 5.3.1 update mailing-list
- 6600 third-party-advisory
- http://www.php.net/releases/5_2_12.php
- [php-announce] 20091119 5.3.1 Release announcement mailing-list
- http://svn.php.net/viewvc?view=revision&revision=288943
- MDVSA-2009:285 vendor-advisory
- 37821 third-party-advisory
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/posix/posix.c?view=log
- APPLE-SA-2010-03-29-1 vendor-advisory
- http://www.php.net/ChangeLog-5.php
- http://support.apple.com/kb/HT4077
- [oss-security] 20091120 CVE request: php 5.3.1 update mailing-list
- http://www.php.net/releases/5_3_1.php
- ADV-2009-3593 vdb-entry
- [oss-security] 20091120 Re: CVE request: php 5.3.1 update mailing-list
- 37412 third-party-advisory
- http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/posix/posix.c?view=log
- MDVSA-2009:302 vendor-advisory
- MDVSA-2009:303 vendor-advisory