跳到正文

Apache Struts2 2.1.6 ~ 2.3.33, 2.5 ~ 2.5.12 远程命令执行漏洞S2-052(CVE-2017-9805)

严重 已验证 漏洞情报武器化

漏洞描述

Struts2 是Apache软件基金会负责维护的一个基于MVC设计模式的Web应用框架开源项目。

Apache Struts2 REST插件存在远程代码执行漏洞,由于使用XStream组件对XML格式的数据包进行反序列化操作时,未对数据内容进行有效验证,导致攻击者可构造恶意的XML内容执行任意代码。

解决建议

升级到Struts 2.5.13版本,补丁下载地址:
https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.13

参考链接

http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
http://www.securityfocus.com/bid/100609
http://www.securitytracker.com/id/1039263
https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifax
https://bugzilla.redhat.com/show_bug.cgi?id=1488482
https://cwiki.apache.org/confluence/display/WW/S2-052
https://lgtm.com/blog/apache_struts_CVE-2017-9805
https://security.netapp.com/advisory/ntap-20170907-0001/
https://struts.apache.org/docs/s2-052.html
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2
https://www.exploit-db.com/exploits/42627/
https://www.kb.cert.org/vuls/id/112992