CVE-2006-2660 Path traversal in n/a
Local attackers can bypass file creation restrictions to write PHP files in arbitrary directories by exploiting a buffer consumption flaw in the tempnam function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2006-2660?
CVE-2006-2660 is a low-severity path traversal vulnerability in Php Php, published on 13 Jun 2006. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2006-2660?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2006-2660?
No fix has been published for CVE-2006-2660 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2006-2660 being exploited?
There is no known exploitation of CVE-2006-2660 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-gr45-244x-jmrm.