Secunia Logo  
 
PHP-Update Multiple Vulnerabilities
Secunia Advisory: SA23486
Release Date: 2006-12-28
Last Update: 2007-01-10
Popularity: 6,749 views

Critical:
Highly critical
Impact: Security Bypass
Manipulation of data
System access
Where: From remote
Solution Status: Unpatched

Software:PHP-Update 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6878
CVE-2006-6879
CVE-2006-6880


Description:
Some vulnerabilities have been reported in PHP-Update, which can be exploited by malicious people to bypass certain security restrictions and conduct SQL injection attacks and by malicious users to compromise a vulnerable system.

1) An insecure authentication method in admin/uploads.php can be exploited to bypass authentication and upload files by passing the value "1" to the "rights[7]" parameter.

2) The admin/uploads.php script fails to validate the extension of an uploaded file, which 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, but can be combined with #1.

3) Input passed to the "newname" parameter in code/guestadd.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation may disclose the administrator username and password, but requires that the system is running MySQL 4.1 or later.

Vulnerabilities #1 and #2 are confirmed in version 2.7 MySQL edition but not in version 2.7 flat file edition. Vulnerability #3 is reported in version 2.7 MySQL edition.

Solution:
Edit the source code to ensure that input is properly sanitised and that authentication is done correctly.

Use another product.

Provided and/or discovered by:
1+2) undefined1_
2+3) rgod

Changelog:
2007-01-10: Added CVE reference.

Original Advisory:
1+2) http://www.milw0rm.com/exploits/3020
2+3) http://www.milw0rm.com/exploits/3017


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. Drupal Project Module File Upload and Cross-Site Scripting // 33 views
2. Mambo "GLOBALS['mosConfig_absolute_path']" File Inclusion // 27 views
3. SmbFTPD Long Command Processing Vulnerability // 26 views
4. Cisco Global Site Selector DNS Request Denial of Service // 25 views
5. ArticleBeach Script "page" File Inclusion Vulnerability // 25 views
6. FreeBSD update for openssl // 23 views
7. tnftpd Long Command Processing Vulnerability // 22 views
8. FreeBSD update for lukemftpd // 22 views
9. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 21 views
10. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 21 views