CVE-2006-2660

PHP 5.1.4 and 4.x < 4.4.3 - Local File Creation via tempnam Pathname Length Bypass

Title source: llm
STIX 2.1

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 (9)

Core 9
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/27049
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/436785/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1016271
Third Party Advisory mailing-list x_refsource_fulldisc
http://archives.neohapsis.com/archives/fulldisclosure/2006-06/0209.html
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-320-1
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2006:122
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/21125
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/1069

Scores

EPSS 0.0042
EPSS Percentile 61.9%

Details

Status published
Products (30)
php/php 4.0.0
php/php 4.0.1
php/php 4.0.2
php/php 4.0.3
php/php 4.0.4
php/php 4.0.5
php/php 4.1.0
php/php 4.1.1
php/php 4.1.2
php/php 4.2.0
... and 20 more
Published Jun 13, 2006
Tracked Since Feb 18, 2026