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 pa...
LowCVSS 2.1
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.0.0 | No fix listed |
| PHP | = 4.0.1 | No fix listed |
| PHP | = 4.0.2 | No fix listed |
| PHP | = 4.0.3 | No fix listed |
| PHP | = 4.0.4 | No fix listed |
| PHP | = 4.0.5 | No fix listed |
| PHP | = 4.1.0 | No fix listed |
| PHP | = 4.1.1 | No fix listed |
| PHP | = 4.1.2 | No fix listed |
| PHP | = 4.2.0 | No fix listed |
| PHP | = 4.2.1 | No fix listed |
| PHP | = 4.2.2 | No fix listed |
| PHP | = 4.2.3 | No fix listed |
| PHP | = 4.3.0 | No fix listed |
| PHP | = 4.3.1 | No fix listed |
| PHP | = 4.3.2 | No fix listed |
| PHP | = 4.3.3 | No fix listed |
| PHP | = 4.3.4 | No fix listed |
| PHP | = 4.3.5 | No fix listed |
| PHP | = 4.3.6 | No fix listed |
| PHP | = 4.3.7 | No fix listed |
| PHP | = 4.3.8 | No fix listed |
| PHP | = 4.3.9 | No fix listed |
| PHP | = 4.3.10 | No fix listed |
| PHP | = 4.3.11 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.4.0 | No fix listed |
| PHP | = 4.4.1 | No fix listed |
| PHP | = 4.4.2 | No fix listed |
| PHP | = 4.4.3 | No fix listed |
| PHP | = 5.1.4 | No fix listed |
References
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 mailing-list
- cvs.php.net
- 21125 third-party-advisory
- 1069 third-party-advisory
- 1016271 vdb-entry
- MDKSA-2006:122 vendor-advisory
- 20060611 tempnam() Bypass unique file name PHP 5.1.4 mailing-list
- USN-320-1 vendor-advisory
- php-tempnam-bypass(27049) vdb-entry