Vulnerabilities · 2006 · Php
CVE-2006-2660
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- archives.neohapsis.com/archives/fulldisclosure/2006-06/0209.html
- cvs.php.net/viewcvs.cgi/php-src/NEWS?view=markup&rev=1.1247.2.920.2.134
- secunia.com/advisories/21125
- securityreason.com/securityalert/1069
- securitytracker.com/id?1016271
- www.mandriva.com/security/advisories?name=MDKSA-2006:122
- www.securityfocus.com/archive/1/436785/100/0/threaded
- www.ubuntu.com/usn/usn-320-1
- nvd.nist.gov/vuln/detail/CVE-2006-2660
- cve.org/CVERecord?id=CVE-2006-2660
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.