Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2022-22954: Unauthenticated RCE in VMware Workspace ONE Access and Identity Manager

Published Apr 11, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS90.3%100th percentile
CISA KEVYesAdded Apr 14, 2022
In the wildActivePer CISA KEV
Vendor
VMware
IdentifiersCVE-2022-22954CWE-1336

CVE-2022-22954 is a server-side template injection vulnerability in VMware Workspace ONE Access and VMware Identity Manager. An unauthenticated attacker with network access to the web interface can submit a crafted HTTP request that causes attacker-controlled FreeMarker expressions to be evaluated, enabling arbitrary shell command execution as the VMware service user. Affected versions include Workspace ONE Access 20.10.0.0, 20.10.0.1, 21.08.0.0, and 21.08.0.1, and Identity Manager 3.3.3 through 3.3.6. VMware Cloud Foundation and vRealize Suite Lifecycle Manager deployments are affected when they contain vulnerable components. The vulnerability has a CVSSv3 base score of 9.8 and has been actively exploited since April 2022.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality, integrity, and availability of resources accessible to the VMware service account. Attackers can execute commands, access accessible application data and configuration, deploy webshells and malware, and establish a foothold for subsequent intrusion activity. Observed exploitation includes Dingo J-spy and Godzilla webshell deployment, botnet installation, cryptocurrency mining, and SSH key manipulation. CVE-2022-22954 does not independently grant root privileges; attackers have chained it with the separate local privilege escalation vulnerability CVE-2022-22960 to obtain full system control and steal credentials and application secrets.

Mitigation

If you can’t patch tonight, do this now.

Where immediately patching is not possible, apply the applicable vendor temporary workaround documented in KB88098. Remove vulnerable instances from the network if they cannot be promptly secured, and restrict web-interface access to trusted networks. Treat affected internet-facing systems that were not promptly patched as potentially compromised and conduct threat hunting for template-injection requests, unexpected command execution, webshell creation, and anomalous service-account or root activity. Isolate confirmed compromised systems and preserve evidence. Network exploit signatures and endpoint detections provide supplementary coverage but do not replace patching.

Remediation

Patch, then assume compromise.

Apply the component-specific patches identified in VMware advisory VMSA-2022-0011.2 and knowledge base article KB88099. Patch vulnerable Workspace ONE Access and Identity Manager components, including those deployed through VMware Cloud Foundation or vRealize Suite Lifecycle Manager. vRealize Automation 8.x itself is unaffected, but a separately deployed vulnerable Identity Manager used with it requires patching directly. Explicit fixed version numbers are not specified here. For systems that were exposed while unpatched, investigate for compromise and remove attacker persistence; patching alone does not eradicate an existing intrusion.

Public exploits

Exploits

12 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.

View more in app →
vmware_workspace_one_access_cve_2022_22954.rbThis repository contains a single Metasploit module targeting VMware Workspace ONE Access (CVE-2022-22954), a critical unauthenticated server-side template injection (SSTI) vulnerability. The exploit allows remote attackers to execute arbitrary shell commands as the 'horizon' user on affected systems. The module is weaponized, supporting both command execution and staged payloads (such as Meterpreter reverse shells) via the Metasploit framework. The attack is performed over HTTPS (default port 443) and does not require authentication. The exploit targets specific endpoints under '/catalog-portal/' on the vulnerable server, leveraging the SSTI flaw to inject and execute commands. The code is well-structured, leverages Metasploit's HttpClient and CmdStager mixins, and provides options for both direct command execution and payload delivery. The repository is a single Ruby file, typical for Metasploit modules, and is suitable for operational use against unpatched VMware Workspace ONE Access instances.Disclosed Apr 6, 2022 · Framework: metasploit · ruby · networkWeaponizedCVE-2022-22954This repository contains a Python exploit script (CVE-2022-22954.py) targeting VMware Workspace ONE Access instances vulnerable to CVE-2022-22954, a critical server-side template injection (SSTI) vulnerability. The exploit works by sending a specially crafted payload to the /catalog-portal/ui/oauth/verify endpoint, leveraging FreeMarker's Execute utility to run arbitrary system commands on the target server. The script provides an interactive shell-like interface, allowing the attacker to input commands and receive output in real time. The README provides usage instructions, example commands, a Shodan query for identifying potential targets, and a bash one-liner for mass exploitation. The main exploit file is written in Python and is the only code file in the repository. The exploit is operational, providing real command execution on vulnerable targets, but does not include advanced features such as payload customization or post-exploitation modules.aniqfakhrul · Disclosed Apr 11, 2022 · python · networkOperationalCVE-2022-22954This repository contains a Python exploit script (CVE-2022-22954.py) targeting VMware Workspace ONE Access servers vulnerable to CVE-2022-22954, a remote code execution (RCE) vulnerability via server-side template injection. The script provides two main modes: a batch scan mode to check multiple URLs for the vulnerability, and an RCE mode to execute arbitrary commands on a specified target. The exploit works by sending a specially crafted HTTP GET request to the '/catalog-portal/ui/oauth/verify' endpoint with a malicious 'deviceUdid' parameter that triggers command execution through FreeMarker template injection. The script parses the response to extract command output if the server is vulnerable. The repository also includes a README (with usage instructions and a brief vulnerability description) and a requirements.txt listing Python dependencies. No hardcoded IPs or domains are present; the script requires user-supplied targets. The exploit is operational and can be used to verify and exploit the vulnerability on accessible VMware Workspace ONE Access instances.jax7sec · Disclosed Apr 12, 2022 · python · networkOperationalCVE-2022-22954This repository contains a Python exploit script (CVE-2022-22954.py) targeting VMware Workspace ONE Access servers vulnerable to CVE-2022-22954, a critical remote code execution vulnerability via server-side template injection (SSTI) in FreeMarker templates. The script allows for both single and batch exploitation, supporting command execution and arbitrary file (webshell) upload to the target server. The main exploit logic crafts payloads for multiple known vulnerable endpoints under the /catalog-portal/ path, attempting to execute commands or write files using FreeMarker template injection. The script can upload a default JSP webshell or a user-supplied file to typical web-accessible directories. The README provides usage instructions for various exploitation scenarios, including single target, batch mode, command execution, and file upload. The exploit is operational, providing real RCE and webshell capabilities, and is not just a detection script.bewhale · Disclosed Apr 13, 2022 · python · networkOperationalCVE-2022-22954This repository contains a Python exploit script (CVE-2022-22954.py) and a README for CVE-2022-22954, a critical remote code execution vulnerability in VMware Workspace ONE Access due to a FreeMarker template injection (SSTI). The script allows an attacker to: - Detect vulnerable endpoints on a single or multiple targets (batch mode supported). - Execute arbitrary system commands on the target via FreeMarker template injection. - Upload a JSP webshell to the server for persistent access, with the default upload path targeting VMware's web application directories. The exploit is multi-threaded for efficient batch exploitation. It targets specific /catalog-portal endpoints known to be vulnerable. The payloads include both direct command execution and a JSP webshell for interactive access. The README provides usage instructions for detection, command execution, and file upload scenarios. The repository is operational and can be used for both vulnerability verification and post-exploitation activities.MLX15 · Disclosed Apr 15, 2022 · python · networkOperationalCVE-2022-22954This repository provides a functional exploit for CVE-2022-22954, a remote code execution (RCE) vulnerability in VMware Workspace ONE Access and Identity Manager via server-side template injection (SSTI). The main exploit script (CVE-2022-22954.py) is written in Python and supports three modes: 'shodan' (automatically finds targets using the Shodan API), 'file' (reads targets from ips.txt), and 'manual' (user-supplied target and command). The script exploits the vulnerable endpoint '/catalog-portal/ui/oauth/verify' to execute arbitrary commands on the target system. Additionally, the repository includes a JSP webshell (shell.jsp) that, when uploaded to the target's web-accessible directory, provides a reverse shell to 8.tcp.ngrok.io:12508. The 'advise.txt' file gives instructions for webshell deployment. The repository also contains search dorks for Shodan and Zoomeye to help identify vulnerable targets. Overall, the exploit is operational, providing both command execution and persistent access capabilities.Chocapikk · Disclosed Jun 1, 2022 · python · jsp · networkOperationalVcenterKillerThis repository, 'VcenterKiller', is a comprehensive exploitation toolkit written in Go, targeting multiple critical vulnerabilities in VMware vCenter Server and Workspace ONE Access. It supports exploitation of CVE-2021-21972, CVE-2021-21985, CVE-2021-22005, CVE-2021-44228 (Log4Shell), CVE-2022-22954, CVE-2022-22972, and CVE-2022-31656. The tool provides modules for remote code execution, webshell upload, SSH key injection, authentication bypass, and Log4j JNDI injection (with built-in LDAP/RMI servers for payload delivery). The main entry point is 'main.go', which dispatches to specific modules under 'src/'. Each module implements the exploit logic for a specific CVE, with endpoints and payloads tailored to the vulnerability. The tool is operational and can be used for post-exploitation, red teaming, or authorized penetration testing of VMware environments. The codebase is modular, with clear separation of exploit logic per CVE, and includes support for proxies and various attack modes. The README provides detailed usage instructions and legal disclaimers.Schira4396 · Disclosed Oct 4, 2022 · go · networkOperationalVMware-CVE-2022-22954This repository contains a Nuclei template (CVE-2022-22954.yaml) for exploiting a critical server-side template injection (SSTI) vulnerability (CVE-2022-22954) in VMware Workspace ONE Access and Identity Manager. The main file, CVE-2022-22954.yaml, defines an HTTP GET request to the '/catalog-portal/ui/oauth/verify' endpoint with a specially crafted 'deviceUdid' parameter that triggers the SSTI flaw, allowing unauthenticated remote code execution. The payload in the template demonstrates execution of system commands such as 'cat /etc/passwd'. The README.md provides usage instructions and a Shodan query for identifying potentially vulnerable systems. The poc.txt file contains a sample exploit URL. The repository is structured for use with the Nuclei scanning framework and serves as a proof-of-concept for this critical vulnerability.sherlocksecurity · Disclosed Apr 11, 2022 · Framework: nuclei · yaml · networkPoCCVE-2022-22954_VMware_PoCThis repository contains a proof-of-concept (PoC) exploit for CVE-2022-22954, a critical server-side template injection (SSTI) vulnerability in VMware Workspace ONE Access and Identity Manager. The main file, CVE-2022-22954.py, is a Python script that takes a target domain and an arbitrary system command as arguments. It constructs a Freemarker template payload that leverages the vulnerability to execute the specified command on the target server. The payload is sent via a crafted GET request to the '/catalog-portal/ui/oauth/verify?error=&deviceUdid=' endpoint of the target. If the target is vulnerable, the script extracts and prints the output of the executed command from the server's response. The repository also includes a README.md with usage instructions and a brief description of the vulnerability. No hardcoded IPs or domains are present; the script requires the user to supply the target. The exploit is a functional PoC and does not include advanced features such as automated detection or post-exploitation modules.DrorDvash · Disclosed Apr 12, 2022 · python · networkPoCCVE-2022-22954-PoCThis repository provides a proof-of-concept (PoC) exploit for CVE-2022-22954, a critical remote code execution (RCE) vulnerability in VMware Workspace ONE Access and Identity Manager. The main exploit script, 'CVE-2022-22954.py', is written in Python and allows the user to execute arbitrary system commands on vulnerable targets via a Server-Side Template Injection (SSTI) in the Freemarker template engine. The script supports three modes: 'manual' (specify a single IP and command), 'file' (read a list of IPs from 'ips.txt'), and 'shodan' (search for targets using the Shodan API). The exploit works by sending a specially crafted payload to the '/catalog-portal/ui/oauth/verify' endpoint, injecting the command via the 'deviceUdid' parameter. The repository also includes a sample 'ips.txt' file for batch exploitation and a README with usage instructions. No weaponization or advanced payload customization is present; this is a straightforward PoC for security testing and research purposes.tunelko · Disclosed Apr 13, 2022 · python · networkPoCCVE-2022-22954This repository provides a Python proof-of-concept exploit for CVE-2022-22954, a critical server-side template injection (SSTI) vulnerability in VMware Workspace ONE Access and Identity Manager. The main script, CVE-2022-22954.py, allows an attacker to execute arbitrary commands on vulnerable servers via a crafted payload sent to the '/catalog-portal/ui/oauth/verify' endpoint. The exploit supports three modes: 'shodan' (automatically finds targets using the Shodan API and a specific favicon hash), 'file' (reads a list of target IPs from ips.txt), and 'manual' (directly targets a specified IP with a command). The repository also includes search dorks for Shodan and Zoomeye to help identify potential targets, and an advisory note describing how to drop a JSP webshell to '/opt/vmware/horizon/workspace/webapps/cas/static/' for persistent access. The exploit is a functional PoC, not weaponized, and is intended for security testing and research purposes.orwagodfather · Disclosed Jun 3, 2022 · python · networkPoCCVE-2022-22954This repository provides a Python proof-of-concept exploit for CVE-2022-22954, a critical Server-Side Template Injection (SSTI) vulnerability in VMware Workspace ONE Access and Identity Manager. The main script, CVE-2022-22954.py, allows an attacker to execute arbitrary system commands on vulnerable servers by exploiting the 'deviceUdid' parameter of the /catalog-portal/ui/oauth/verify endpoint. The exploit supports three modes: 'manual' (single target), 'file' (multiple targets from ips.txt), and 'shodan' (automated target discovery via Shodan API). The payload leverages Freemarker template injection to achieve command execution. The repository also includes reconnaissance aids (shodan-dork.txt, zoomeye-dork.txt) for finding potential targets, and advise.txt, which describes how to drop a JSP webshell on the target for persistent access. The exploit is a functional PoC and does not include advanced features or payload customization, but it demonstrates the vulnerability and provides a basis for further weaponization.b4dboy17 · Disclosed Jun 3, 2022 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
VMwareIdentity Managerapplication
VMwareVmware Cloud Foundationapplication
VMwareVrealize Automationapplication
VMwareVrealize Suite Lifecycle Managerapplication
VMwareWorkspace One Accessapplication
FAQ

Frequently asked questions

Is CVE-2022-22954 exploited in the wild?
Yes. As of Oct 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 14, 2022.
Is there a public exploit for CVE-2022-22954?
Yes. Mallory tracks 12 public exploits or proofs of concept for CVE-2022-22954, the earliest disclosed Apr 6, 2022.
Is there a patch for CVE-2022-22954?
Apply the component-specific patches identified in VMware advisory VMSA-2022-0011.2 and knowledge base article KB88099. Patch vulnerable Workspace ONE Access and Identity Manager components, including those deployed through VMware Cloud Foundation or vRealize Suite Lifecycle Manager. vRealize Automation 8.x itself is unaffected, but a separately deployed vulnerable Identity Manager used with it requires patching directly.
What products are affected by CVE-2022-22954?
VMware Identity Manager, Vmware Cloud Foundation, VMware Vrealize Suite Lifecycle Manager, VMware Workspace One Access, and VMware Vrealize Automation.
How severe is CVE-2022-22954?
CVE-2022-22954 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 90.3% (100th percentile) as of Oct 28, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence2Every report linking this CVE to a named adversary.
Associated malware14Malware families linked to this CVE, with evidence and IOCs.
Detection signatures8YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.