字号·· | 护眼
漏洞档案 · 高危

Apache Struts XStream 反序列化远程代码执行(CVE-2017-9805)

CVE-2017-9805 别名:GHSA-GG9M-FJ3V-R58C
CVSS 8.1 / 3.1 EPSS 99.4% CISA KEV 在野利用 勒索软件利用 公开 PoC · 20 Nuclei 模板
综合风险96/ 100
CVSS8.1高危
EPSS99.4%30 天利用概率
机构收录时间2017-09-16更新 2026-12-03

研判简报

概述

Apache Struts 2 的 REST Plugin 使用 XStreamHandler 和 XStream 实例反序列化 XML,未做类型过滤,攻击者可构造 XML 载荷导致远程代码执行(CWE-502)。该漏洞于 2017-09-16 发布,别名 GHSA-GG9M-FJ3V-R58C。由于无需认证、公开利用成熟,且已关联勒索软件利用,暴露在外的 Struts2 REST 应用应优先排查。它可作为面向公众应用的初始访问入口,进而执行命令与脚本解释器。

严重性

官方记录为 high,CVSS 8.1(3.1),综合风险分 96.26/100;Nuclei 模板标注 CVSS 3.0、同为 8.1,仅评分版本有出入。攻击面是可达的 Struts2 REST XML 接口。

利用状态

截至核查日期 2026-11-24:EPSS 30 天利用概率 99.3%(百分位 99.9%);CISA KEV 已收录(2021-11-03),KEV 要求动作为“Apply updates per vendor instructions.”,期限 2022-05-03;已知勒索软件利用;存在公开 Exploit-DB/公开 PoC(20 条)及 Nuclei 模板 http/cves/2017/CVE-2017-9805.yaml;CISA SSVC 为 exploitation=active、technical_impact=total、automatable=no。

受影响产品

Apache Struts 2.1.1 至 2.3.x(2.3.34 之前)及 2.5.x(2.5.13 之前)。涉及组件为 REST Plugin 的 XStreamHandler/XStream 反序列化路径。部署形态材料未给出。

修复版本

按官方受影响区间,修复版本为 2.3.34 和 2.5.13;Oracle 安全公告称已向其客户分发相关修复。具体补丁文件名、各发行版包版本材料未给出。

缓解措施

材料未给出针对该漏洞的具体官方缓解措施。KEV 要求按厂商说明应用更新,Oracle 公告强烈建议立即应用修复;无法立即修复时的替代方案材料未给出。

响应步骤

  1. 盘点对外暴露的 Struts2 REST 接口及版本,确认是否落在受影响区间。
  2. 按厂商说明升级至 2.3.34 或 2.5.13

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2017-9805kev
  2. https://www.exploit-db.com/exploits/42627exploit,exploitdb
  3. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-9805.yamlexploit,nuclei
  4. http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.htmlx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  5. https://struts.apache.org/docs/s2-052.htmlx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  6. http://www.securitytracker.com/id/1039263vdb-entry,x_refsource_SECTRACK,vdb-entry,x_refsource_SECTRACK,x_transferred,advi
  7. http://www.securityfocus.com/bid/100609vdb-entry,x_refsource_BID,vdb-entry,x_refsource_BID,x_transferred,advisory,euvd
  8. https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20170907-struts2vendor-advisory,x_refsource_CISCO,vendor-advisory,x_refsource_CISCO,x_transferre
  9. https://bugzilla.redhat.com/show_bug.cgi?id=1488482x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  10. https://blogs.apache.org/foundation/entry/apache-struts-statement-on-equifaxx_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  11. https://www.exploit-db.com/exploits/42627/exploit,x_refsource_EXPLOIT-DB,exploit,x_refsource_EXPLOIT-DB,x_transferred,advi
  12. https://lgtm.com/blog/apache_struts_CVE-2017-9805x_refsource_MISC,x_refsource_MISC,x_transferred,advisory,euvd
  13. https://cwiki.apache.org/confluence/display/WW/S2-052x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  14. https://security.netapp.com/advisory/ntap-20170907-0001/x_refsource_CONFIRM,x_refsource_CONFIRM,x_transferred,advisory,euvd
  15. https://www.kb.cert.org/vuls/id/112992third-party-advisory,x_refsource_CERT-VN,third-party-advisory,x_refsource_CERT-V
  16. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9805government-resource