CVE-2022-22963criticalunder attackCWE-94

CVE-2022-22963: critical vulnerability in Spring Cloud Function

Published · Updated

E-mail alert when it lands in KEV, gets a public PoC or its score goes up.

100Vexday Risk Score

Patch now. It under exploitation confirmed by CISA and has a working public exploit.

ssvc Actcvss 9.8epss 100%
from disclosure to weaponsame day
Published on NVDApr 1
1st PoCMar 26
metasploitMar 29
CISA KEV+146d
What the vendors declare (VEX)

Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.

Fixed
2 products (10 components)
Red Hat OpenShift Serverless 1.21 · Red Hat OpenShift Serverless 1.0
Not affected
2 products (11 components) — because the vulnerable code is not present in the product
Red Hat OpenShift Serverless 1.21 · OpenShift Serverless
Action required by CISAfederal deadline: 2022-09-15

Apply updates per vendor instructions.

In short

Spring Cloud Function allows attackers to execute arbitrary code on the server by injecting malicious expressions through the routing functionality. This happens because user input is not properly validated before being processed.

Technical detail

A remote attacker can exploit improper input validation in the routing-expression parameter to inject Spring Expression Language (SpEL) payloads, achieving unauthenticated remote code execution. The vulnerability exists in versions 3.1.6, 3.2.2 and older unsupported versions when routing functionality is enabled.

Summary generated and translated by AI from the official description.

The full analysis of this CVE is available in Portuguese →

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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
public PoCs found — 66
exploitdbwww.exploit-db.com/exploits/51577unverifiedgithubgithub.com/hktalent/spring-spel-0day-poc★ 354githubgithub.com/dinosn/CVE-2022-22963★ 118githubgithub.com/darryk10/CVE-2022-22963★ 34githubgithub.com/J0ey17/CVE-2022-22963_Reverse-Shell-Exploit★ 24githubgithub.com/me2nuk/CVE-2022-22963★ 19githubgithub.com/RanDengShiFu/CVE-2022-22963★ 15githubgithub.com/kh4sh3i/Spring-CVE★ 14githubgithub.com/Kirill89/CVE-2022-22963-PoC★ 9githubgithub.com/charis3306/CVE-2022-22963★ 8githubgithub.com/k3rwin/spring-cloud-function-rce★ 8githubgithub.com/lemmyz4n3771/CVE-2022-22963-PoC★ 4githubgithub.com/iliass-dahman/CVE-2022-22963-POC★ 4githubgithub.com/randallbanner/Spring-Cloud-Function-Vulnerability-CVE-2022-22963-RCE★ 4githubgithub.com/stevemats/Spring0DayCoreExploit★ 3githubgithub.com/twseptian/cve-2022-22963★ 2githubgithub.com/puckiestyle/CVE-2022-22963★ 1githubgithub.com/SealPaPaPa/SpringCloudFunction-Research★ 1githubgithub.com/SourM1lk/CVE-2022-22963-Exploit★ 1githubgithub.com/AayushmanThapaMagar/CVE-2022-22963★ 1githubgithub.com/xmqaq/CVE-2022-22963★ 1githubgithub.com/G01d3nW01f/CVE-2022-22963★ 0githubgithub.com/cyberager/CVE-2022-22963★ 0githubgithub.com/808rsec/CVE-2022-22963★ 0githubgithub.com/Shayz614/CVE-2022-22963★ 0githubgithub.com/jrbH4CK/CVE-2022-22963★ 0githubgithub.com/nikn0laty/RCE-in-Spring-Cloud-CVE-2022-22963★ 0githubgithub.com/r4y-br/CVE-2022-22963★ 0githubgithub.com/CyberCTF/vulhub-spring-cve-2022-22963★ 0githubgithub.com/gunzf0x/CVE-2022-22963★ 0githubgithub.com/BearClaw96/CVE-2022-22963-Poc-Bearcules★ 0githubgithub.com/Mustafa1986/CVE-2022-22963★ 0githubgithub.com/75ACOL/CVE-2022-22963★ 0vulncheckvulncheck.com/xdb/b67b2f1cc825unverifiedvulncheckvulncheck.com/xdb/45486f0fb795unverifiedvulncheckvulncheck.com/xdb/56dea359d4a0unverifiedvulncheckvulncheck.com/xdb/6df2943f2207unverifiedvulncheckvulncheck.com/xdb/df1a6bdd6fd3unverifiedvulncheckvulncheck.com/xdb/f3a3584c5122unverifiedvulncheckvulncheck.com/xdb/2165c70c3912unverifiedvulncheckvulncheck.com/xdb/3752a0bf8804unverifiedvulncheckvulncheck.com/xdb/9e2b9c965b80unverifiedcve_referencepacketstormsecurity.com/files/173430/Spring-Cloud-3.2.2-Remote-Command-Execution.htmlunverifiedvulncheckvulncheck.com/xdb/2d647e945b5cunverifiedvulncheckvulncheck.com/xdb/c6c1cc44d574unverifiedvulncheckvulncheck.com/xdb/5f0df832449cunverifiedvulncheckvulncheck.com/xdb/5922af7bf5b9unverifiedvulncheckvulncheck.com/xdb/8fdc0fdf513eunverifiedvulncheckvulncheck.com/xdb/8555580d563aunverifiedvulncheckvulncheck.com/xdb/b3ed0886366bunverifiedvulncheckvulncheck.com/xdb/25acfb6faf58unverifiedvulncheckvulncheck.com/xdb/28f51035796bunverifiedvulncheckvulncheck.com/xdb/a1c6ea2e02bcunverifiedvulncheckvulncheck.com/xdb/e735e076c22dunverifiedvulncheckvulncheck.com/xdb/28fa125e7119unverifiedvulncheckvulncheck.com/xdb/1066ae419f9bunverifiedvulncheckvulncheck.com/xdb/c00844238ab5unverifiedvulncheckvulncheck.com/xdb/365b57443ae6unverifiedvulncheckvulncheck.com/xdb/e2c12294de2eunverifiedvulncheckvulncheck.com/xdb/8182bb40e66aunverifiedvulncheckvulncheck.com/xdb/698c9d96f1d6unverifiedvulncheckvulncheck.com/xdb/6857dd5dc99eunverifiedvulncheckvulncheck.com/xdb/a05078d88fe4unverifiedvulncheckvulncheck.com/xdb/fed25e003946unverifiedvulncheckvulncheck.com/xdb/371543cf9d23unverifiedvulncheckvulncheck.com/xdb/55fd3ef87a62unverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.