字号·· | 护眼
漏洞档案 · 严重

Apache Struts 文件上传路径穿越(CVE-2024-53677)

CVE-2024-53677 别名:GHSA-43MQ-6XMG-29VM
CVSS 9.5 / 4.0 EPSS 8.5% CISA KEV 在野利用 公开 PoC · 15
综合风险72/ 100
CVSS9.5严重
EPSS8.5%30 天利用概率
机构收录时间2024-12-11更新 2026-12-01

研判简报

概述

Apache Struts 的文件上传逻辑存在缺陷,攻击者可操纵上传参数实现路径穿越,在特定条件下上传恶意文件并进一步造成远程代码执行。该漏洞影响范围极广(2.0.0 至 6.4.0 之前的所有版本),且已出现公开 PoC 并被 CISA KEV 收录,属于应优先处置的严重漏洞。使用基于 FileuploadInterceptor 的旧式文件上传逻辑的应用需重点关注;官方说明称未使用该旧逻辑的应用不受影响。

严重性

CVSS 9.5(4.0 向量),综合风险分 84.47/100;EPSS 30 天利用概率 72.4%(百分位 99.4%,核查日期 2026-11-25)。攻击面为面向公众的 Web 应用文件上传入口,成功利用可导致服务器完全失陷(technical_impact=total)。

利用状态

CISA KEV 已收录(2024-12-15);Exploit-DB/公开 PoC 共 15 条;CISA SSVC:automatable=no、exploitation=poc。核查日期 2026-11-25。勒索软件关联状态材料未给出;Nuclei 模板状态材料未给出。参考材料中的 VulnCheck 页面仅显示与本次编号无关的其他 CVE 列表,未提供 CVE-2024-53677 的具体利用条目,故不据此推断。

受影响产品

Apache Software Foundation Apache Struts >=2.0.0 <6.4.0。触发条件为使用基于 FileuploadInterceptor 的旧式文件上传逻辑;部署形态与其他组件细节材料未给出。

修复版本

官方修复版本为 Apache Struts 6.4.0(至少升级至该版本),并建议迁移至新的文件上传机制(https://struts.apache.org/core-developers/file-upload)。详见 S2-067 公告。

缓解措施

无法立即升级时,按厂商说明迁移至新文件上传机制、停止使用基于 FileuploadInterceptor 的旧上传逻辑;若无法修复或缓解,KEV 要求停止使用该产品(期限材料未给出)。其他临时缓解手段材料未给出。

响应步骤

  1. 盘点资产,确认是否存在 Apache Struts >=2.0.0 <6.4.0 实例,并判定是否使用 FileuploadInterceptor 旧上传逻辑。
  2. 对确认受影响的实例升级至 6.4.0 或以上,并完成新文件上传机制迁移。
  3. 排查 Web 访问日志中针对上传接口的可疑路径穿越参数与异常文件写入,检查上传目录是否出现 Web Shell(对应 T1505.003)。
  4. 对无法升级的系统按 KEV 要求执行厂商缓解或停用,并评估面向公众暴露面(T1190)。
  5. 持续跟踪 S2-067 公告与 KEV 状态更新,复核处置结果。

参考来源

  1. https://isc.sans.edu/diary/Exploit+attempts+inspired+by+recent+Struts2+File+Upload+Vulnerability+CVE202453677+CVE202350164/31520kev
  2. https://isc.sans.edu/feeds/urlsummary.txtkev
  3. https://attackerkb.com/topics/YfjepZ70DS/cve-2024-53677kev
  4. https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-53677kev
  5. https://vulncheck.com/xdb/420179b31365exploit,vulncheck_xdb
  6. https://github.com/yangyanglo/CVE-2024-53677poc,github,exploit,poc_github
  7. https://vulncheck.com/xdb/e3d7a1ada72aexploit,vulncheck_xdb
  8. https://github.com/XiaomingX/CVE-2024-53677-S2-067poc,github
  9. https://vulncheck.com/xdb/876d199e276eexploit,vulncheck_xdb
  10. https://github.com/dustblessnotdust/CVE-2024-53677-S2-067-threadpoc,github
  11. https://vulncheck.com/xdb/368a28a635a8exploit,vulncheck_xdb
  12. https://github.com/EQSTLab/CVE-2024-53677poc,github,exploit,poc_github
  13. https://vulncheck.com/xdb/61b55ac60446exploit,vulncheck_xdb
  14. https://github.com/0xPThree/struts_cve-2024-53677poc,github
  15. https://vulncheck.com/xdb/d35919daf052exploit,vulncheck_xdb
  16. https://github.com/punitdarji/Apache-struts-cve-2024-53677poc,github