Vulnerability in PHP
CVE-2006-2660
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 2.1 (Low). Vector: AV:L/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.004, 29.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP — versions 4.0.0, 4.0.1, 4.0.2
References
- php-tempnam-bypass(27049) (vdb-entry)
- cvs.php.net/viewcvs.cgi/php-src/NEWS
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 (mailing-list)
- securitytracker.com/id (vdb-entry)
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 (mailing-list)
- USN-320-1 (vendor-advisory)
- MDKSA-2006:122 (vendor-advisory)
- secunia.com/advisories/21125 (third-party-advisory)
- securityreason.com/securityalert/1069 (third-party-advisory)