Secunia Logo  
 
deV!L'z Clanportal File Upload and SQL Injection
Secunia Advisory: SA23194
Release Date: 2006-12-06
Popularity: 5,489 views

Critical:
Highly critical
Impact: Manipulation of data
System access
Where: From remote
Solution Status: Vendor Patch

Software:deV!L'z Clanportal 1.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Tim Weber has discovered two vulnerabilities in deV!L'z Clanportal, which can be exploited by malicious people to compromise a vulnerable system and manipulate data.

1) The upload/index.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with the ".php" extension and execute arbitrary PHP code on the server.

Successful exploitation requires passing an allowed MIME media type in the HTTP headers and creating a file that is both a syntactically correct PHP script and a JPEG or GIF image that the PHP function getimagesize() will consider correct.

2) Input passed to the "show" parameter in sites/index.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 reportedly allows granting a user administrator privileges, but requires that "magic_quotes_gpc" is disabled.

The vulnerabilities are confirmed in version 1.3.6. Other versions may also be affected.

Solution:
Update to version 1.3.6.1.

Provided and/or discovered by:
Tim Weber


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