Skip to main content
Mallory
CriticalCISA KEVExploited in the wildPublic exploit

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

IdentifiersCVE-2022-22954CWE-1336

CVE-2022-22954 is a remote code execution vulnerability in VMware Workspace ONE Access and VMware Identity Manager caused by server-side template injection. The issue is reachable through the products' web interface and can be triggered remotely with a crafted HTTP request. The provided content indicates exploitation patterns involving the "deviceudid" parameter and Freemarker/Java class references such as "java.lang.ProcessBuilder" and "freemarker.template.utility.ObjectConstructor," consistent with template injection leading to arbitrary command execution. Successful exploitation allows execution of arbitrary shell commands in the context of the VMware application user.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

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

An unauthenticated attacker with network access to a vulnerable internet-facing instance can execute arbitrary shell commands remotely. In observed intrusions, attackers used the flaw to deploy webshells, botnet payloads, shellbots, coinminers, and SSH key manipulation payloads. The vulnerability has been actively exploited in the wild and can serve as an initial access vector for broader compromise. The content also notes that attackers may chain this flaw with CVE-2022-22960 to escalate from the VMware user context to root.

Mitigation

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

If immediate patching is not possible, restrict network exposure to the web interface, especially from the public internet, and monitor web/proxy logs for suspicious GET requests containing "deviceudid" together with strings such as "java.lang.ProcessBuilder" or "freemarker.template.utility.ObjectConstructor." Hunt for JSP webshell creation in VMware Workspace ONE web application directories and review systems for indicators of compromise associated with active exploitation. Because exploitation has been observed in the wild, unpatched exposed systems should be treated as potentially compromised until validated otherwise.

Remediation

Patch, then assume compromise.

Apply VMware's fixes from advisory VMSA-2022-0011 and upgrade affected VMware Workspace ONE Access and VMware Identity Manager installations to fixed builds. The content identifies affected versions including Workspace ONE Access 20.10.0.0 through 20.10.0.1, Workspace ONE Access 21.08.0.0 through 21.08.0.1, and Identity Manager 3.3.3 through 3.3.6. Organizations should prioritize patching internet-exposed systems and investigate for post-exploitation artifacts such as JSP webshells and unauthorized processes if patching was delayed.
PUBLIC EXPLOITS

Exploits

10 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).

VALID 10 / 12 TOTALView more in app
CVE-2022-22954MaturityPoCVerified exploit

This 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.

aniqfakhrulDisclosed Apr 11, 2022pythonnetwork
CVE-2022-22954-PoCMaturityPoCVerified exploit

This 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.

tunelkoDisclosed Apr 13, 2022pythonnetwork
CVE-2022-22954MaturityPoCVerified exploit

This 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.

b4dboy17Disclosed Jun 3, 2022pythonnetwork
CVE-2022-22954MaturityPoCVerified exploit

This 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.

orwagodfatherDisclosed Jun 3, 2022pythonnetwork
CVE-2022-22954MaturityPoCVerified exploit

This 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.

bewhaleDisclosed Apr 13, 2022pythonnetwork
CVE-2022-22954_VMware_PoCMaturityPoCVerified exploit

This 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.

DrorDvashDisclosed Apr 12, 2022pythonnetwork
VcenterKillerMaturityPoCVerified exploit

This 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.

Schira4396Disclosed Oct 4, 2022gonetwork
VMware-CVE-2022-22954MaturityPoCFrameworknucleiVerified exploit

This 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.

sherlocksecurityDisclosed Apr 11, 2022yamlnetwork
CVE-2022-22954MaturityPoCVerified exploit

This 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.

ChocapikkDisclosed Jun 1, 2022pythonjspnetwork
CVE-2022-22954MaturityPoCVerified exploit

This 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.

jax7secDisclosed Apr 12, 2022pythonnetwork
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
BroadcomCloud Foundationapplication
BroadcomIdentity Managerapplication
BroadcomVrealize Automationapplication
BroadcomVrealize Suite Lifecycle Managerapplication
BroadcomWorkspace One Accessapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware10

Malware families riding this exploit, with evidence and IOCs.

Detection signatures2

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity3

Community discussion across Reddit, Mastodon, and other social sources.