Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


2532|Gigs Multiple Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA26585  
Release Date: 2007-08-27
Last Update: 2008-04-22

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

CVE reference:CVE-2007-4585 (Secunia mirror)

This advisory is currently marked as unpatched!
- Companies can be alerted when a patch is released!


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



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.


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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Linux Kernel LDT Buffer Size Handling Vulnerability
2.
Drupal Session Fixation Vulnerability
3.
OpenBSD BIND Query Port DNS Cache Poisoning
4.
Ubuntu update for php
5.
IPCop update for perl
6.
Red Hat update for kernel
7.
Slackware update for dnsmasq
8.
Fedora update for asterisk
9.
Red Hat update for thunderbird
10.
Debian update for xulrunner





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia