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

Spring Cloud Function SpEL 注入远程代码执行(CVE-2022-22963)

CVE-2022-22963 别名:GHSA-6V73-FGF6-W5J7
CVSS 9.8 / 3.1 EPSS 97.2% CISA KEV 在野利用 公开 PoC · 31 Nuclei 模板
综合风险96/ 100
CVSS9.8严重
EPSS97.2%30 天利用概率
机构收录时间2022-04-01更新 2026-11-30

研判简报

概述

Spring Cloud Function 在使用 routing 功能时,允许用户提交特制的 SpEL 表达式作为 routing-expression,从而触发远程代码执行并访问本地资源。该漏洞位于面向公众的应用入口,攻击者无需认证即可利用,危害为完全的技术影响(命令执行)。使用受影响版本并启用路由功能的服务方应优先关注。CWE 归类为 CWE-94(代码注入),Nuclei 模板另标注 CWE-917。

严重性

CVSS 3.1 评分 9.8(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H),综合风险分 96.19/100,评级 critical。攻击面为网络可达的 Spring Cloud Function 路由端点,无需前置权限或用户交互。

利用状态

截至核查日期 2026-11-24:EPSS 30 天利用概率 99.9%(百分位 100.0%);已收录 CISA KEV(2022-08-25),KEV 要求动作「Apply updates per vendor instructions.」,期限 2022-09-15;存在公开 Nuclei 检测模板(http/cves/2022/CVE-2022-22963.yaml);Exploit-DB/公开 PoC 共 31 条。CISA SSVC 判定:automatable=yes、exploitation=active、technical_impact=total。材料未给出勒索软件关联信息。

受影响产品

Spring Cloud Function 版本 3.1.6、3.2.2 及所有更旧的不受支持版本;组件为 Spring Cloud Function 的 routing 功能;厂商为 VMware Tanzu / Spring Cloud。部署形态材料未给出。别名编号 GHSA-6V73-FGF6-W5J7。

修复版本

材料未给出具体修复版本号。官方 Spring 安全公告仅说明「No further mitigation steps are necessary.」,Nuclei 模板 remediation 字段建议应用 Spring Cloud 项目提供的最新安全补丁;KEV 要求按厂商说明应用更新。具体修复版本以官方公告为准,材料未给出。

缓解措施

材料未给出针对无法立即修复场景的替代缓解动作;官方公告称无需进一步缓解步骤。可参考的仅有厂商更新指引与检测模板(POST /functionRouter,携带 spring.cloud.function.routing-expression 头)。其余缓解手段材料未给出。

响应步骤

  1. 清点资产:排查使用 Spring Cloud Function 3.1.6、3.2.2 及更旧不受支持版本且启用 routing 功能的服务。
  2. 确认暴露面:检查 /functionRouter 等路由端点是否可从网络访问,优先处置互联网可达实例。
  3. 应用厂商更新:按 KEV 要求与官方公告应用更新(具体版本材料未给出,以官方记录为准)。
  4. 检测验证:使用公开 Nuclei 模板 http/cves/2022/CVE-2022-22963.yaml 对候选目标进行非破坏性验证。
  5. 日志排查:检索包含 spring.cloud.function.routing-expression 头的异常请求及 SpEL 特征(如 T(java.net.InetAddress))的调用记录。
  6. 持续监控:结合 EPSS 99.9% 与 KEV 在野利用状态,将该漏洞纳入高优先级补丁与告警流程。

参考来源

  1. https://tanzu.vmware.com/security/cve-2022-22963kev,x_transferred,advisory,euvd,nvd
  2. https://nvd.nist.gov/vuln/detail/CVE-2022-22963kev
  3. https://www.exploit-db.com/exploits/51577exploit,exploitdb
  4. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-22963.yamlexploit,nuclei
  5. https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-java-spring-scf-rce-DQrHhJxHvendor-advisory,vendor-advisory,x_transferred,advisory,euvd,nvd
  6. https://www.oracle.com/security-alerts/cpuapr2022.htmlx_transferred,advisory,euvd,nvd
  7. https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0005x_transferred,advisory,euvd,nvd
  8. https://www.oracle.com/security-alerts/cpujul2022.htmlx_transferred,advisory,euvd,nvd
  9. http://packetstormsecurity.com/files/173430/Spring-Cloud-3.2.2-Remote-Command-Execution.htmlx_transferred,advisory,euvd,nvd
  10. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-22963government-resource
  11. https://github.com/rapid7/metasploit-framework/tree/master/modules/exploit_multi/http/spring_cloud_function_spel_injectionexploit,metasploit
  12. https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1654advisory,euvd
  13. https://unit42.paloaltonetworks.com/recent-exploits-network-security-trends/kev
  14. https://euvd.enisa.europa.eu/enisa/EUVD-2022-1654kev
  15. https://www.cisa.gov/known-exploited-vulnerabilities-catalogkev
  16. https://web-assets.esetstatic.com/wls/2023/07/eset_threat_report_h12023.pdfkev