Description
Buffer consumption vulnerability in the tempnam function in PHP 5.1.4 and 4.x before 4.4.3 allows local users to bypass restrictions and create PHP files with fixed names in other directories via a pathname argument longer than MAXPATHLEN, which prevents a unique string from being appended to the filename.
References
- php-tempnam-bypass(27049) vdb-entry
- http://cvs.php.net/viewcvs.cgi/php-src/NEWS?view=markup&rev=1.1247.2.920.2.134
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 mailing-list
- 1016271 vdb-entry
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 mailing-list
- USN-320-1 vendor-advisory
- MDKSA-2006:122 vendor-advisory
- 21125 third-party-advisory
- 1069 third-party-advisory