What is VMware Workspace ONE Access?
VMware Workspace ONE Access (formerly VMware Identity Manager) is an identity and access management platform providing single sign-on, multi-factor authentication, and conditional access policies for enterprise applications. It is a critical identity infrastructure component deployed on-premises or as a virtual appliance, often accessible from the internet as the gateway for employee remote access to corporate applications. Identity platforms are extremely high-value targets because compromising them enables lateral movement to all downstream applications.
Overview
CVE-2022-22954 is a pre-authentication remote code execution vulnerability in VMware Workspace ONE Access and Identity Manager caused by server-side template injection (SSTI) in the FreeMarker templating engine. An unauthenticated attacker with network access to the Workspace ONE Access web interface can send a crafted HTTP request containing malicious FreeMarker template directives, resulting in arbitrary Java code execution on the server. CVSS 9.8 (Critical). Exploitation was confirmed in the wild almost immediately — CISA added this to the KEV catalog just 8 days after the advisory and confirmed active exploitation. ransomwareUse: true indicates this was used in ransomware operations.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| VMware Workspace ONE Access | 21.08.0.1, 21.08.0.0, 20.10.0.1, 20.10.0.0 | See VMSA-2022-0011 |
| VMware Identity Manager | 3.3.6, 3.3.5, 3.3.4, 3.3.3 | See VMSA-2022-0011 |
| VMware vRealize Automation | 7.6 (uses embedded Identity Manager) | See VMSA-2022-0011 |
Technical Details
The vulnerability is server-side template injection (CWE-94 — code injection) in the FreeMarker template engine used by Workspace ONE Access's web application. The application passes unsanitized user-supplied input into FreeMarker template evaluation without proper context isolation.
FreeMarker templates support a powerful expression language including ?eval directives and access to Java reflection APIs. An attacker can inject FreeMarker expressions that:
- Use
freemarker.template.utility.Execute(a built-in FreeMarker class) to run OS commands - Or exploit
?new()to instantiate arbitrary Java classes for code execution
Example injection pattern (simplified):
${"freemarker.template.utility.Execute"?new()("id")}
The injection point is in a URL parameter or form field that is processed through FreeMarker rendering before authentication. The application likely generates error messages or redirect URLs using FreeMarker templates that incorporate untrusted input.
Discovery
Discovered by Steven Seeley (mr_me) of Qihoo 360 Vulnerability Research Institute. The vulnerability was responsibly disclosed to VMware and patched in April 2022.
Exploitation Context
Workspace ONE Access is internet-facing by design — it must be reachable from the internet for remote employee authentication. This makes it an ideal target for initial access. Confirmed threat actors exploiting this vulnerability include:
- APT groups: Chinese-nexus threat actors (UNC2630, others) were observed exploiting this vulnerability alongside CVE-2022-22960 (a separate VMware privilege escalation) in a chained attack to establish persistent access to enterprise networks
- Ransomware operators: The
ransomwareUse: trueflag reflects ransomware groups using identity management system compromise as a pivot into broader network access - Cryptomining: Lower-sophistication actors dropped miners after gaining initial access
The exploitation was so rapid that CISA added this to KEV 8 days after the advisory — one of the fastest KEV additions for an enterprise product vulnerability.
Remediation
- Apply VMware patch: Update per VMSA-2022-0011. VMware provided patches for affected versions and workaround scripts for environments where immediate patching is not possible.
- Apply VMware workaround if patching is delayed: VMware published a Python script to disable vulnerable services as a temporary mitigation — use this if production constraints delay patching.
- Restrict network access: Place Workspace ONE Access behind a reverse proxy or VPN; limit direct internet access to the management interface.
- Monitor authentication logs: Review Workspace ONE Access audit logs for unexpected authentication events, service account usage, or administrative changes.
- Assume compromise if unpatched during exposure: If the appliance was internet-accessible during the vulnerability window, treat it as potentially compromised. Rotate all service accounts and certificates managed by the identity manager.
- Check for chained exploitation: Attackers often combined CVE-2022-22954 with CVE-2022-22960 (privilege escalation) — investigate both if compromise is suspected.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2022-22954 |
| Vendor / Product | VMware — Workspace ONE Access and Identity Manager |
| NVD Published | 2022-04-11 |
| NVD Last Modified | 2025-10-30 |
| CVSS 3.1 Score | 9.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Severity | CRITICAL |
| CWE | CWE-94 find similar ↗ |
| CISA KEV Added | 2022-04-14 |
| CISA KEV Deadline | 2022-05-05 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2022-04-06 | VMware published VMSA-2022-0011 and patched versions |
| 2022-04-11 | CVE published |
| 2022-04-14 | Added to CISA Known Exploited Vulnerabilities catalog; CISA alert published |
| 2022-05-05 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2022-22954 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| VMware Security Advisory VMSA-2022-0011 | Vendor Advisory |
| CISA Alert — VMware Releases Critical Security Updates | US Government |