CVE-2006-2660

Summary

CVECVE-2006-2660
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2006-06-13 18:02:00 UTC
Updated2018-10-30 16:25:00 UTC
DescriptionBuffer 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.

Risk And Classification

Problem Types: NVD-CWE-Other

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Php Php 4.0.0 All All All
Application Php Php 4.0.1 All All All
Application Php Php 4.0.2 All All All
Application Php Php 4.0.3 All All All
Application Php Php 4.0.4 All All All
Application Php Php 4.0.5 All All All
Application Php Php 4.1.0 All All All
Application Php Php 4.1.1 All All All
Application Php Php 4.1.2 All All All
Application Php Php 4.2.0 All All All
Application Php Php 4.2.1 All All All
Application Php Php 4.2.2 All All All
Application Php Php 4.2.3 All All All
Application Php Php 4.3.0 All All All
Application Php Php 4.3.1 All All All
Application Php Php 4.3.10 All All All
Application Php Php 4.3.11 All All All
Application Php Php 4.3.2 All All All
Application Php Php 4.3.3 All All All
Application Php Php 4.3.4 All All All
Application Php Php 4.3.5 All All All
Application Php Php 4.3.6 All All All
Application Php Php 4.3.7 All All All
Application Php Php 4.3.8 All All All
Application Php Php 4.3.9 All All All
Application Php Php 4.4.0 All All All
Application Php Php 4.4.1 All All All
Application Php Php 4.4.2 All All All
Application Php Php 4.4.3 All All All
Application Php Php 5.1.4 All All All
Application Php Php 4.0.0 All All All
Application Php Php 4.0.1 All All All
Application Php Php 4.0.2 All All All
Application Php Php 4.0.3 All All All
Application Php Php 4.0.4 All All All
Application Php Php 4.0.5 All All All
Application Php Php 4.1.0 All All All
Application Php Php 4.1.1 All All All
Application Php Php 4.1.2 All All All
Application Php Php 4.2.0 All All All
Application Php Php 4.2.1 All All All
Application Php Php 4.2.2 All All All
Application Php Php 4.2.3 All All All
Application Php Php 4.3.0 All All All
Application Php Php 4.3.1 All All All
Application Php Php 4.3.10 All All All
Application Php Php 4.3.11 All All All
Application Php Php 4.3.2 All All All
Application Php Php 4.3.3 All All All
Application Php Php 4.3.4 All All All
Application Php Php 4.3.5 All All All
Application Php Php 4.3.6 All All All
Application Php Php 4.3.7 All All All
Application Php Php 4.3.8 All All All
Application Php Php 4.3.9 All All All
Application Php Php 4.4.0 All All All
Application Php Php 4.4.1 All All All
Application Php Php 4.4.2 All All All
Application Php Php 4.4.3 All All All
Application Php Php 5.1.4 All All All

References

ReferenceSourceLinkTags
Advisories - Mandriva Linux MANDRIVA www.mandriva.com
Ubuntu update for PHP - Advisories - Secunia SECUNIA secunia.com
IBM X-Force Exchange XF exchange.xforce.ibmcloud.com
usn/usn-320-1 - Ubuntu: Linux for human beings UBUNTU www.ubuntu.com
SecurityFocus BUGTRAQ www.securityfocus.com
PHP tempnam() Function Can Be Bypassed - SecurityTracker SECTRACK securitytracker.com
cvs.php.net/viewcvs.cgi/php-src/NEWS CONFIRM cvs.php.net
SecurityReason - tempnam() Bypass unique file name PHP 5.1.4 SREASON securityreason.com
20060611 tempnam() Bypass unique file name PHP 5.1.4 FULLDISC archives.neohapsis.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Red Hat2006-08-30Mark J CoxThis is not an issue that affects users of Red Hat Enterprise Linux. http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196255

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report