跳到正文

Apache Struts2 2.0.0~2.3.15 远程命令执行漏洞S2-016(CVE-2013-2251)

高危 未验证 漏洞情报EXP 公开

漏洞描述

Apache Struts框架是一个基于Java Servlets,JavaBeans, 和 JavaServer Pages (JSP)的Web应用框架的开源项目。

Apache Struts 2 DefaultActionMapper在处理短路径重定向参数前缀"action:"/"redirect:"/"redirectAction:"时存在命令执行漏洞,由于对"action:"/"redirect:"/"redirectAction:"后的URL信息使用OGNL表达式处理,远程攻击者可以利用漏洞提交特殊URL可用于执行任意Java代码。

解决建议

升级到Struts 2.3.15.1及以上版本,建议用户下载使用:
http://struts.apache.org/download.cgi#struts23151

参考链接

http://archiva.apache.org/security.html
http://cxsecurity.com/issue/WLB-2014010087
http://osvdb.org/98445
http://packetstormsecurity.com/files/159629/Apache-Struts-2-Remote-Code-Execution.html
http://seclists.org/fulldisclosure/2013/Oct/96
http://seclists.org/oss-sec/2014/q1/89
http://struts.apache.org/release/2.3.x/docs/s2-016.html
http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20131023-struts2
http://www.fujitsu.com/global/support/software/security/products-f/interstage-bpm-analytics-201301e.html
http://www.oracle.com/technetwork/topics/security/cpujan2014-1972949.html
http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
http://www.securityfocus.com/bid/61189
http://www.securityfocus.com/bid/64758
http://www.securitytracker.com/id/1029184
http://www.securitytracker.com/id/1032916
https://exchange.xforce.ibmcloud.com/vulnerabilities/90392