Secunia Logo  
 
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.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Mambo "GLOBALS['mosConfig_absolute_path']" File Inclusion // 27 views
2. Drupal Project Module File Upload and Cross-Site Scripting // 27 views
3. Internet Explorer Data Binding Memory Corruption Vulnerability // 23 views
4. Cisco Global Site Selector DNS Request Denial of Service // 22 views
5. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 22 views
6. ArticleBeach Script "page" File Inclusion Vulnerability // 21 views
7. SmbFTPD Long Command Processing Vulnerability // 21 views
8. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 19 views
9. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 19 views
10. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 17 views