PoC Monitor
← All CVEs
CVE-2022-22954published 11 Apr 2022 19:37 UTCData: JSON · API

VMware Workspace ONE Access and Identity Manager

VMware Workspace ONE Access and Identity Manager Server-Side Template Injection Vulnerability

VMware Workspace ONE Access and Identity Manager contain a remote code execution vulnerability due to server-side template injection. A malicious actor with network access can trigger a server-side template injection that may result in remote code execution.

First public PoC 6 h beforebefore publication · 11 Apr 2022
Public PoCs3230 on GitHub · 2 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 14 Apr 20223 days after publication · ransomware use known

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8First public PoC11 Apr 2022 · t−6hCVE published11 Apr 2022 · t = 0Added to CISA KEV14 Apr 2022 · t+3d

First public PoC 6 h before publication; added to CISA KEV 3 days after publication. First PoC: sherlocksecurity/VMware-CVE-2022-22954 (created 11 Apr 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

30 PoCs · 7 pending · 2 informational · 1 suspicious or fake

PoCs 30
RepositoryCreatedStarsAssessment
axingde/CVE-2022-22954-POC 9 Oct 2020 −1.5 y 2 PoC older repo: PoC date unknown, not used for the first PoC
sherlocksecurity/VMware-CVE-2022-22954 11 Apr 2022 −6 h 280 Scanner
Vulnmachines/VMWare_CVE-2022-22954 11 Apr 2022 t = 0 11 PoC via PoC Index
aniqfakhrul/CVE-2022-22954 11 Apr 2022 +4 h 4 PoC
jax7sec/CVE-2022-22954 12 Apr 2022 +9 h 12 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

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

lucksec/VMware-CVE-2022-22954 12 Apr 2022 +11 h 0 PoC
mumu2020629/-CVE-2022-22954-scanner 12 Apr 2022 +13 h 1 Scanner
MSeymenD/CVE-2022-22954-Testi 12 Apr 2022 +14 h 1 PoC
corelight/cve-2022-22954 12 Apr 2022 +23 h 1 PoC
DrorDvash/CVE-2022-22954_VMware_PoC 12 Apr 2022 +1.1 d 10 PoC
Jun-5heng/CVE-2022-22954 13 Apr 2022 +1.4 d 0 PoC
tunelko/CVE-2022-22954-PoC 13 Apr 2022 +1.6 d 16 PoC
bewhale/CVE-2022-22954 13 Apr 2022 +1.9 d 68 PoC
emilyastranova/VMware-CVE-2022-22954-Command-Injector 14 Apr 2022 +3.2 d 1 PoC
tyleraharrison/VMware-CVE-2022-22954-Command-Injector 14 Apr 2022 +3.2 d 1 PoC
MLX15/CVE-2022-22954 15 Apr 2022 +4 d 4 PoC
mhurts/CVE-2022-22954-POC 16 Apr 2022 +4.9 d 0 PoC
Chocapikk/CVE-2022-22954 1 Jun 2022 +51 d 4 PoC
secfb/CVE-2022-22954 1 Jun 2022 +51 d 0 PoC
orwagodfather/CVE-2022-22954 3 Jun 2022 +53 d 8 PoC
b4dboy17/CVE-2022-22954 3 Jun 2022 +53 d 5 PoC
badboy-sft/CVE-2022-22954 3 Jun 2022 +53 d 5 PoC
24-2021/EXP-POC 5 Jun 2022 +55 d 26 PoC via PoC Index
chaosec2021/EXP-POC 5 Jun 2022 +55 d 26 PoC via PoC Index
mamba-2021/EXP-POC 5 Jun 2022 +55 d 26 PoC via PoC Index
1SeaMy/CVE-2022-22954 12 Jun 2022 +62 d 0 PoC via PoC Index
amit-pathak009/CVE-2022-22954 13 Aug 2022 +124 d 0 PoC
amit-pathak009/CVE-2022-22954-PoC 13 Aug 2022 +124 d 0 PoC
zidanfanshao/vcenter_tools 11 Nov 2024 +2.6 y 70 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

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

nieldk/VMware-CVE-2022-22954 8 Jul 2026 +4.2 y 0 Scanner
Pending 7
RepositoryCreatedStarsAssessment
3SsFuck/CVE-2022-22954-POC unknown 0 Pending · repository unavailable (HTTP 404)
Jhonsonwannaa/CVE-2022-22954 unknown 0 Pending · repository unavailable (HTTP 404)
avboy1337/CVE-2022-22954-VMware-RCE unknown 0 Pending · repository unavailable (HTTP 404)
bb33bb/CVE-2022-22954-VMware-RCE unknown 0 Pending · repository unavailable (HTTP 404)
chaosec2021/CVE-2022-22954-VMware-RCE unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2022-22954 unknown 0 Pending · repository unavailable (HTTP 404)
trhacknon/CVE-2022-22954-PoC unknown 0 Pending · repository unavailable (HTTP 404)
Informational 2
RepositoryCreatedStarsAssessment
nguyenv1nK/CVE-2022-22954 5 May 2022 +24 d 0 Informational · write-up
arzuozkan/CVE-2022-22954 11 Jun 2022 +61 d 0 Informational · write-up
Suspicious or fake 1
RepositoryCreatedStarsAssessment
Schira4396/VcenterKiller 4 Oct 2022 +175 d 1,487 Suspicious · score 75
Why suspicious
  • README asks to download a release/binary/archive
  • large base64 blob in code in src/c_21985/c_21985.go
  • large base64 blob in code in src/log4jcenter/server.go

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. 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 30 PoC repos

GET /catalog-portal/ui/oauth/verify

Query
error= deviceUdid=
Key headers
Accept: */* Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: tr Accept-Language: en Accept-Language: en-US,en;q=0.5 Upgrade-Insecure-Requests: 1
Body markers
test= in application/x-www-form-urlencoded
Ports
8080, 8443
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 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 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Seen in
21 repos: 24-2021/EXP-POC, Chocapikk/CVE-2022-22954, DrorDvash/CVE-2022-22954_VMware_PoC, Jun-5heng/CVE-2022-22954, MSeymenD/CVE-2022-22954-Testi, amit-pathak009/CVE-2022-22954, amit-pathak009/CVE-2022-22954-PoC, axingde/CVE-2022-22954-POC, b4dboy17/CVE-2022-22954, badboy-sft/CVE-2022-22954, chaosec2021/EXP-POC, emilyastranova/VMware-CVE-2022-22954-Command-Injector, jax7sec/CVE-2022-22954, mamba-2021/EXP-POC, mumu2020629/-CVE-2022-22954-scanner, nieldk/VMware-CVE-2022-22954, orwagodfather/CVE-2022-22954, secfb/CVE-2022-22954, sherlocksecurity/VMware-CVE-2022-22954, tunelko/CVE-2022-22954-PoC, tyleraharrison/VMware-CVE-2022-22954-Command-Injector
Evidence
24-2021/EXP-POC/CVE-2022-22954-VMware-RCE/CVE-2022-22954_VMrce_POC.py:23 Chocapikk/CVE-2022-22954/CVE-2022-22954.py:61 DrorDvash/CVE-2022-22954_VMware_PoC/CVE-2022-22954.py:35 Jun-5heng/CVE-2022-22954/CVE-2022-22954.py:23 MSeymenD/CVE-2022-22954-Testi/vmware.py:20 amit-pathak009/CVE-2022-22954/CVE-2022-22954.py:61

GET /%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22{var}%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/

Ports
8080
Seen in
3 repos: 24-2021/EXP-POC, chaosec2021/EXP-POC, mamba-2021/EXP-POC
Evidence
24-2021/EXP-POC/CVE-2022-26134/CVE-2022-26134-POC.py:48 chaosec2021/EXP-POC/CVE-2022-26134/CVE-2022-26134-POC.py:48 mamba-2021/EXP-POC/CVE-2022-26134/CVE-2022-26134-POC.py:48

POST /actuator/gateway/routes/code

Key headers
Accept: */* Accept-Language: en
Content-Type
application/json
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
3 repos: 24-2021/EXP-POC, chaosec2021/EXP-POC, mamba-2021/EXP-POC
Evidence
24-2021/EXP-POC/CVE-2022-22947-POC/CVE-2022-22947_POC.py:110 chaosec2021/EXP-POC/CVE-2022-22947-POC/CVE-2022-22947_POC.py:110 mamba-2021/EXP-POC/CVE-2022-22947-POC/CVE-2022-22947_POC.py:110

POST /actuator/gateway/routes/codee

Key headers
Accept: */* Accept-Language: en
Content-Type
application/json
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
3 repos: 24-2021/EXP-POC, chaosec2021/EXP-POC, mamba-2021/EXP-POC
Evidence
24-2021/EXP-POC/CVE-2022-22947-POC/CVE-2022-22947_EXP.py:124 chaosec2021/EXP-POC/CVE-2022-22947-POC/CVE-2022-22947_EXP.py:124 mamba-2021/EXP-POC/CVE-2022-22947-POC/CVE-2022-22947_EXP.py:124

POST /analytics/telemetry/ph/api/hyper/send

Query
_c= _i=test
Body markers
test
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4298.0 Safari/537.36
Seen in
3 repos: 24-2021/EXP-POC, chaosec2021/EXP-POC, mamba-2021/EXP-POC
Evidence
24-2021/EXP-POC/CVE-2021-22005poc/cve-2021-22005.py:32 chaosec2021/EXP-POC/CVE-2021-22005poc/cve-2021-22005.py:32 mamba-2021/EXP-POC/CVE-2021-22005poc/cve-2021-22005.py:32

POST /functionRouter

Key headers
Accept: */* Accept-Language: en Spring.cloud.function.routing-Expression: T(java.lang.Runtime).getRuntime().exec("{var}")
Body markers
test= in application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Seen in
3 repos: 24-2021/EXP-POC, chaosec2021/EXP-POC, mamba-2021/EXP-POC
Evidence
24-2021/EXP-POC/Spring-cloud-function-SpEL-RCE/Spel_RCE_Bash_EXP.py:49 24-2021/EXP-POC/Spring-cloud-function-SpEL-RCE/Spel_RCE_POC.py:44 chaosec2021/EXP-POC/Spring-cloud-function-SpEL-RCE/Spel_RCE_Bash_EXP.py:49 chaosec2021/EXP-POC/Spring-cloud-function-SpEL-RCE/Spel_RCE_POC.py:44 mamba-2021/EXP-POC/Spring-cloud-function-SpEL-RCE/Spel_RCE_Bash_EXP.py:49 mamba-2021/EXP-POC/Spring-cloud-function-SpEL-RCE/Spel_RCE_POC.py:44

POST /general/index/UploadFile.php

Query
m=uploadPicture uploadType=eoffice_logo userId=
Body markers
name="Filedata" in multipart/form-data
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4298.0 Safari/537.36
Seen in
3 repos: 24-2021/EXP-POC, chaosec2021/EXP-POC, mamba-2021/EXP-POC
Evidence
24-2021/EXP-POC/CNVD-2021-49104_upload/泛微_E-Office_upload.py:20 24-2021/EXP-POC/CNVD-2021-49104_upload/泛微_E-Office_upload.py:47 chaosec2021/EXP-POC/CNVD-2021-49104_upload/泛微_E-Office_upload.py:20 chaosec2021/EXP-POC/CNVD-2021-49104_upload/泛微_E-Office_upload.py:47 mamba-2021/EXP-POC/CNVD-2021-49104_upload/泛微_E-Office_upload.py:20 mamba-2021/EXP-POC/CNVD-2021-49104_upload/泛微_E-Office_upload.py:47

Regex

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

GET /catalog-portal/ui/oauth/verify
(?i)^/catalog-portal/ui/oauth/verify\?(?:.*&)?error=.*deviceUdid=
DELETE /actuator/gateway/routes/code
(?i)^/actuator/gateway/routes/code(?:[?#].*)?$
DELETE /actuator/gateway/routes/codee
(?i)^/actuator/gateway/routes/codee(?:[?#].*)?$
GET /%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22{var}%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/
(?i)^/%24%7B%28%23a%3D%40org\.apache\.commons\.io\.IOUtils%40toString%28%40java\.lang\.Runtime%40getRuntime%28%29\.exec%28%22[^/?#]*%22%29\.getInputStream%28%29%2C%22utf-8%22%29%29\.%28%40com\.opensymphony\.webwork\.ServletActionContext%40getResponse%28%29\.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/(?:[?#].*)?$
GET /actuator/gateway/routes/code
(?i)^/actuator/gateway/routes/code(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /catalog-portal/ui/oauth/verify
alert http any any -> $HOME_NET [8080,8443] (msg:"GG PoC-Monitor CVE-2022-22954 VMware VMware Workspace ONE Access and Identity Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/catalog-portal/ui/oauth/verify"; http.uri; content:"error="; http.uri; content:"deviceUdid="; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: tr"; nocase; http.header; content:"Accept-Language: en"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"test="; reference:url,poc.griffinguard.io/cve/CVE-2022-22954; classtype:web-application-attack; sid:9051411; rev:1;)
DELETE /actuator/gateway/routes/code
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22954 VMware VMware Workspace ONE Access and Identity Manager exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/actuator/gateway/routes/code"; reference:url,poc.griffinguard.io/cve/CVE-2022-22954; classtype:web-application-attack; sid:9690972; rev:1;)
DELETE /actuator/gateway/routes/codee
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22954 VMware VMware Workspace ONE Access and Identity Manager exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/actuator/gateway/routes/codee"; reference:url,poc.griffinguard.io/cve/CVE-2022-22954; classtype:web-application-attack; sid:9106587; rev:1;)
GET /%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22{var}%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22954 VMware VMware Workspace ONE Access and Identity Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/"; http.uri; content:"/%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22"; reference:url,poc.griffinguard.io/cve/CVE-2022-22954; classtype:web-application-attack; sid:9293759; rev:1;)
GET /actuator/gateway/routes/code
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-22954 VMware VMware Workspace ONE Access and Identity Manager exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/actuator/gateway/routes/code"; reference:url,poc.griffinguard.io/cve/CVE-2022-22954; classtype:web-application-attack; sid:9701669; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /catalog-portal/ui/oauth/verify
title: VMware VMware Workspace ONE Access and Identity Manager exploit attempt (CVE-2022-22954)
id: gg-pocmon-cve-2022-22954-9051411
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22954. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22954
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/catalog-portal/ui/oauth/verify'
    cs-uri-query|contains|all:
      - 'error='
      - 'deviceUdid='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22954
DELETE /actuator/gateway/routes/code
title: VMware VMware Workspace ONE Access and Identity Manager exploit attempt (CVE-2022-22954)
id: gg-pocmon-cve-2022-22954-9690972
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22954. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22954
logsource:
  category: webserver
detection:
  selection:
    cs-method: DELETE
    cs-uri-stem|contains|all:
      - '/actuator/gateway/routes/code'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22954
DELETE /actuator/gateway/routes/codee
title: VMware VMware Workspace ONE Access and Identity Manager exploit attempt (CVE-2022-22954)
id: gg-pocmon-cve-2022-22954-9106587
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22954. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22954
logsource:
  category: webserver
detection:
  selection:
    cs-method: DELETE
    cs-uri-stem|contains|all:
      - '/actuator/gateway/routes/codee'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22954
GET /%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22{var}%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/
title: VMware VMware Workspace ONE Access and Identity Manager exploit attempt (CVE-2022-22954)
id: gg-pocmon-cve-2022-22954-9293759
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22954. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22954
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/'
      - '/%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22954
GET /actuator/gateway/routes/code
title: VMware VMware Workspace ONE Access and Identity Manager exploit attempt (CVE-2022-22954)
id: gg-pocmon-cve-2022-22954-9701669
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-22954. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-22954
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/actuator/gateway/routes/code'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.22954