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

Apache Struts 远程代码执行(CVE-2018-11776)

CVE-2018-11776 别名:GHSA-CR6J-3JP9-RW65
CVSS 8.1 / 3.1 EPSS 100.0% CISA KEV 在野利用 勒索软件利用 公开 PoC · 20 Nuclei 模板
综合风险96/ 100
CVSS8.1高危
EPSS100.0%30 天利用概率
机构收录时间2018-08-22更新 2026-12-01

研判简报

概述

Apache Struts 2.3 至 2.3.34、2.5 至 2.5.16 在 alwaysSelectFullNamespace 为 true(由用户配置或 Convention Plugin 等插件启用)时,若结果被用于无 namespace 场景、且其上层包无 namespace 或为通配 namespace,可能触发远程代码执行;使用未设置 value 与 action 的 url 标签时存在类似风险。根因归为 CWE-20 输入校验不充分,攻击者可通过构造请求影响服务端执行逻辑。该漏洞已有公开利用代码与检测模板,并被 CISA KEV 收录、存在已知勒索软件利用,属于应优先排查的高危 RCE。

严重性

CVSS 3.1 评分 8.1(high),综合风险分 96.4/100;攻击面为可通过网络访问的 Struts 应用入口。

利用状态

截至核查日期 2026-11-24:CISA KEV 已收录(收录日期 2021-11-03),已知存在勒索软件利用;Exploit-DB/公开 PoC 约 20 条;已有公开 Nuclei 检测模板(http/cves/2018/CVE-2018-11776.yaml)。EPSS 30 天利用概率 100.0%(百分位 100.0%)。CISA SSVC:automatable=no、exploitation=active、technical_impact=total。

受影响产品

Apache Software Foundation Apache Struts 2.3 至 2.3.34;Apache Struts 2.5 至 2.5.16。触发条件与 alwaysSelectFullNamespace 配置及上层包 namespace 设置相关;具体组件与部署形态材料未给出。

修复版本

材料未给出官方修复版本号或补丁细节;KEV 要求动作仅为「Apply updates per vendor instructions.」(期限 2022-05-03)。参考材料中的 Nuclei 模板 remediation 仅建议应用最新安全补丁或升级至不受影响版本,未给出具体版本。

缓解措施

材料未给出针对该配置缺陷的具体替代缓解方案;在无法立即修复时,可参考 KEV 要求按厂商说明处置,并依据公开检测模板对暴露入口进行排查。其余缓解动作材料未给出。

响应步骤

  1. 盘点对外暴露的 Struts 应用,确认是否处于 2.3–2.3.34 或 2.5–2.5.16 区间。
  2. 核查 alwaysSelectFullNamespace 配置及 Convention Plugin 使用情况,评估是否满足漏洞触发条件。
  3. 使用公开 Nuclei 模板(http/cves/2018/CVE-2018-11776.yaml)或既有 PoC 在授权范围内做检测验证。
  4. 按厂商说明应用更新;修复前加强入口访问控制与日志监控。
  5. 关注 KEV 与勒索利用情报,对可疑命令执行与异常子进程进行排查。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2018-11776kev
  2. https://www.exploit-db.com/exploits/45260exploit,exploitdb
  3. https://www.exploit-db.com/exploits/45367exploit,exploitdb
  4. https://www.exploit-db.com/exploits/45262exploit,exploitdb
  5. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-11776.yamlexploit,nuclei
  6. http://www.securitytracker.com/id/1041888vdb-entry,vdb-entry,x_transferred,advisory,euvd
  7. https://www.exploit-db.com/exploits/45367/exploit,exploit,x_transferred,advisory,euvd
  8. https://www.exploit-db.com/exploits/45262/exploit,exploit,x_transferred,advisory,euvd
  9. http://www.securityfocus.com/bid/105125vdb-entry,vdb-entry,x_transferred,advisory,euvd
  10. http://www.securitytracker.com/id/1041547vdb-entry,vdb-entry,x_transferred,advisory,euvd
  11. https://www.exploit-db.com/exploits/45260/exploit,exploit,x_transferred,advisory,euvd
  12. https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3Emailing-list,mailing-list,x_transferred,advisory,euvd
  13. http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.htmlx_transferred,advisory,euvd
  14. https://www.oracle.com/security-alerts/cpujul2020.htmlx_transferred,advisory,euvd
  15. https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.htmlx_transferred,advisory,euvd
  16. https://security.netapp.com/advisory/ntap-20181018-0002/x_transferred,advisory,euvd