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

Spring Cloud Gateway 代码注入(CVE-2022-22947)

CVE-2022-22947 别名:GHSA-3GX9-37WW-9QW6
CVSS 10.0 / 3.1 EPSS 95.6% CISA KEV 在野利用 公开 PoC · 54 Nuclei 模板
综合风险96/ 100
CVSS10.0严重
EPSS95.6%30 天利用概率
机构收录时间2022-03-03更新 2026-12-01

研判简报

概述

Spring Cloud Gateway 在 Gateway Actuator 端点启用、对外暴露且未加固时,存在代码注入漏洞。远程攻击者可构造恶意请求,在目标主机上实现任意远程执行。该漏洞 CVSS 10.0、已有公开利用代码且进入 CISA KEV,危险性极高。互联网暴露 Actuator 的 Gateway 实例,以及捆绑受影响组件的 Oracle 产品部署方应优先关注。

严重性

CVSS 3.1 为 10.0(AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H);综合风险分 96.11/100。EPSS 30 天利用概率 95.6%,百分位 99.9%(2026-11-25)。攻击面是未授权、可网络访问的 Gateway Actuator 端点。

利用状态

CISA KEV 已收录(2022-05-16),要求按厂商说明更新,期限 2022-06-06;SSVC 为 automatable=yes、exploitation=active、technical_impact=total。已有公开 Nuclei 模板(http/cves/2022/CVE-2022-22947.yaml)及 Exploit-DB/公开 PoC(54 条)。核查日期:2026-11-26。勒索关联情况材料未给出。

受影响产品

官方受影响记录包括 vmware:spring_cloud_gateway:*(versionEndExcluding=3.0.7)及 3.1.0。描述称 3.1.1+ 与 3.0.7+ 之前的版本受影响。另列 Oracle Commerce Guided Search 11.3.2,以及多个 Oracle Communications Cloud Native Core 组件版本(1.8.0、1.10.0、1.11.0、1.15.0、1.15.1、22.1.0、22.1.1、22.1.2、22.1.3、22.2.0)。部署形态重点为启用并暴露 Gateway Actuator 的网关服务。

修复版本

官方结构化修复版本列为 spring_cloud_gateway:* 3.0.7;漏洞描述同时提及 3.1.1+ 与 3.0.7+。参考材料将受影响范围写为 <3.0.7 与 <3.1.1,与官方结构化字段存在出入,以官方记录为准。Oracle 相关组件补丁见 Oracle CPU 链接,具体修复版本材料未给出。

缓解措施

不能立即修复时,应禁用或严格限制 Gateway Actuator 的 gateway 端点,避免其暴露在互联网;对必须保留的管理接口实施网络访问控制与认证加固。材料未给出更多厂商缓解细节。Oracle 组件应按 Oracle 安全公告处置。

响应步骤

  1. 盘点 Spring Cloud Gateway 及上述 Oracle 组件版本,确认是否落在受影响区间。
  2. 检查 /actuator/gateway 是否启用、可被互联网访问或缺乏认证。
  3. 按官方修复版本升级;Oracle 组件应用对应 CPU 补丁。
  4. 暂不能升级时,关闭或限制 Actuator gateway 端点及管理面访问。
  5. 排查 POST /actuator/gateway/routes、/actuator/gateway/refresh、DELETE /actuator/gateway/routes/... 等异常请求及可疑 SpEL 表达式、外连行为。
  6. 发现利用迹象时隔离实例并开展取证与凭据处置。

参考来源

  1. https://nvd.nist.gov/vuln/detail/CVE-2022-22947kev
  2. https://www.exploit-db.com/exploits/50799exploit,exploitdb
  3. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22947.yamlexploit,nuclei
  4. https://tanzu.vmware.com/security/cve-2022-22947x_transferred,advisory,euvd,nvd
  5. https://www.oracle.com/security-alerts/cpuapr2022.htmlx_transferred,advisory,euvd,nvd
  6. http://packetstormsecurity.com/files/166219/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.htmlx_transferred,advisory,euvd,nvd
  7. https://www.oracle.com/security-alerts/cpujul2022.htmlx_transferred,advisory,euvd,nvd
  8. http://packetstormsecurity.com/files/168742/Spring-Cloud-Gateway-3.1.0-Remote-Code-Execution.htmlx_transferred,advisory,euvd,nvd
  9. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22947government-resource
  10. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_linux/http/spring_cloud_gateway_rceexploit,metasploit
  11. https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1288advisory,euvd
  12. https://www.botconf.eu/wp-content/uploads/2022/05/Botconf2022-24-PalotayZsigovits.pdfkev
  13. https://www.bleepingcomputer.com/news/security/microsoft-sysrv-botnet-targets-windows-linux-servers-with-new-exploits/kev
  14. https://euvd.enisa.europa.eu/enisa/EUVD-2022-1288kev
  15. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  16. https://www.malwarebytes.com/blog/news/2022/05/sysrv-botnet-is-out-to-mine-monero-on-your-windows-and-linux-serverskev