RCE in Oracle Banking Branch

CVE-2022-22963

In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.999, 100.0th percentile (scored ). About EPSS.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

Required action: Apply updates per vendor instructions.

Browse the full CISA KEV catalog with PoC counts, Metasploit modules and EPSS.

Public exploits and proof-of-concept code

Metasploit modules

39 public repositories with exploit or proof-of-concept code for this CVE:

  • hktalent/spring-spel-0day-poc (355 stars, last pushed 2023-03-05): spring-cloud / spring-cloud-function,spring.cloud.function.routing-expression,RCE,0day,0-day,POC,EXP,CVE-2022-22963
  • dinosn/CVE-2022-22963 (119 stars, last pushed 2022-03-30): CVE-2022-22963 PoC
  • darryk10/CVE-2022-22963 (34 stars, last pushed 2022-04-15)
  • J0ey17/CVE-2022-22963_Reverse-Shell-Exploit (24 stars, last pushed 2023-03-18): CVE-2022-22963 is a vulnerability in the Spring Cloud Function Framework for Java that allows remote code execution. This python script will verify if the vulnerability exists, and if it does, will g…
  • me2nuk/CVE-2022-22963 (19 stars, last pushed 2022-04-01): Spring Cloud Function Vulnerable Application / CVE-2022-22963
  • RanDengShiFu/CVE-2022-22963 (15 stars, last pushed 2022-03-30): CVE-2022-22963 Spring-Cloud-Function-SpEL_RCE_exploit
  • kh4sh3i/Spring-CVE (14 stars, last pushed 2022-03-31): This includes CVE-2022-22963, a Spring SpEL / Expression Resource Access Vulnerability, as well as CVE-2022-22965, the spring-webmvc/spring-webflux RCE termed "SpringShell".
  • Kirill89/CVE-2022-22963-PoC (9 stars, last pushed 2022-03-30)
  • charis3306/CVE-2022-22963 (8 stars, last pushed 2023-06-04): spring cloud function 一键利用工具! by charis 博客https://charis3306.top/
  • k3rwin/spring-cloud-function-rce (8 stars, last pushed 2022-04-22): Spring Cloud Function SPEL表达式注入漏洞(CVE-2022-22963)

29 more are listed on the interactive page.

Also mentioned in 164 other repositories (0x7n6/OSCP, 0x801453/SpringbootGuiExploit, 0xStrygwyr/OSCP-Guide, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References