|
PHP Upload Tool File Upload And Directory Traversal
|
|
Secunia Advisory:
|
SA22973
|
|
|
Release Date:
|
2006-11-17
|
|
Last Update:
|
2007-03-06
|
|
Popularity:
|
8,851 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Exposure of system information Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | PHP Upload Tool 1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-7133 CVE-2006-7134
|
|
Description: Some vulnerabilities have been discovered in PHP Upload Tool, which can be exploited by malicious users to gain system access or by malicious people to expose sensitive information.
1) The bin/main_user.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with arbitrary extensions (e.g. ".php") and execute arbitrary PHP code on the server.
Successful exploitation requires valid user credentials.
2) Input passed to the "filename" parameter in bin/download.php is not properly sanitised before being used to download files.
Successful exploitation allows for downloading of arbitrary files on the system, e.g. "/etc/passwd" or "conf/users.conf" (the product's usernames and password hashes).
The vulnerabilities are confirmed in version 1.0. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly verified and sanitised.
Restrict access to the application, e.g. with an ".htaccess" file.
Provided and/or discovered by: Craig Heffner and an anonymous person
Changelog: 2007-03-06: Added CVE reference.
Original Advisory: 2) http://www.craigheffner.com/security/exploits/upload_tool_php.txt
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|