Secunia Logo
Netsikker nu! 2008
 
2532|Gigs Multiple Vulnerabilities
Secunia Advisory: SA26585
Release Date: 2007-08-27
Last Update: 2008-04-22
Popularity: 3,346 views

Critical:
Highly critical
Impact: Manipulation of data
Exposure of system information
Exposure of sensitive information
System access
Where: From remote
Solution Status: Unpatched

Software:2532|Gigs 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4585


Description:
Some vulnerabilities have been reported in 2532|Gigs, which can be exploited by malicious users to disclose sensitive information and compromise a vulnerable system, and by malicious people to disclose sensitive information and conduct SQL injection attacks.

1) Input passed to the "language" parameter in activateuser.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.

Successful exploitation requires that "register_globals" is enabled and that "magic_quotes_gpc" is disabled.

2) Input passed to the "username" parameter in checkuser.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 allows to e.g. bypass the login mechanism.

3) Input passed to the "id" parameter in index.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local or external resources.

4) The backup.php script does not properly restrict access to the database backup functionality. This can be exploited to disclose sensitive information by accessing a specially crafted URL.

Successful exploitation of vulnerabilities #3 and #4 requires valid user credentials, but a combination with vulnerability #2 allows to bypass this.

The vulnerabilities are confirmed in version 1.2.2 (vulnerability #1 is also confirmed in version 1.2.1). Other versions may also be affected.

Solution:
Edit the source code to ensure that input is properly sanitised and verified. Restrict access to backup.php and backup.sql to trusted users only.

Provided and/or discovered by:
1) bd0rk
2, 3) An anonymous person
4) t0pP8uZz

Changelog:
2007-09-03: Added CVE reference.
2008-04-22: Updated advisory to include vulnerabilities #2-4.

Original Advisory:
1) http://milw0rm.com/exploits/4317
4) http://milw0rm.com/exploits/5465


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. Oracle Products Multiple Vulnerabilities // 62 views
2. BEA WebLogic Server Multiple Vulnerabilities // 50 views
3. Sun Solaris "sadmind" Buffer Overflow Vulnerability // 49 views
4. BEA WebLogic Server Multiple Authorizers Security Bypass // 41 views
5. BEA WebLogic Workshop NetUI Pageflow Information Disclosure Vulnerability // 39 views
6. WordPress WP Comment Remix Plugin Multiple Vulnerabilities // 36 views
7. BEA WebLogic Workshop NetUI Tags Information Disclosure Vulnerability // 35 views
8. VLC Media Player XSPF Processing Memory Corruption Vulnerability // 33 views
9. Elxis mod_language.php Cross-Site Scripting Vulnerability // 30 views
10. MyPHPDating "id" SQL Injection Vulnerability // 29 views