CVE-2021-21972: VMware vCenter Server Remote Code Execution Vulnerability
VMware vCenter Server vSphere Client contains a remote code execution vulnerability in a vCenter Server plugin which allows an attacker with network access to port 443 to execute commands with…
CVE-2021-21972 is a remote code execution vulnerability in VMware vCenter Server. It affects a plugin used by the vSphere Client and lets an attacker who can reach the service over the network on port 443 run commands with unrestricted privileges on the underlying operating system. Because vCenter is a central management plane for virtual infrastructure, successful exploitation can give an attacker broad control of the environment. Public reporting also links this vulnerability to ransomware activity, so rapid identification and remediation matter.
How it works
The weakness is classified as CWE-23 (relative path traversal). In products of this class, insufficient validation of path or file references inside a component can allow an attacker to reach resources or functionality outside the intended scope. According to the CISA summary, the flaw resides in a vCenter Server plugin exposed through the vSphere Client. An unauthenticated attacker with network access to port 443 can abuse the vulnerable plugin path to execute operating-system commands at the highest privilege level on the host running vCenter. Exact request formats and payload details are not repeated here; defenders should obtain them only from the official vendor advisory and treat any public proof-of-concept material with caution.
Am I affected? How to find it in your systems
VMware vCenter Server is typically deployed as a dedicated appliance or Windows installation that manages ESXi hosts and virtual machines. It is commonly reachable on TCP port 443 for the web-based vSphere Client and related APIs. Inventory every vCenter instance in your environment—production, lab, and disaster-recovery sites—by consulting configuration-management databases, network scans for port 443 services identifying themselves as vCenter/vSphere, and VMware’s own management tools.
- Confirm the exact product edition and build against the vendor advisory; only the versions listed there are known to be affected.
- Check whether the vulnerable plugin is present and enabled; the advisory will state which components must be examined.
- Review web-server and application logs on the vCenter host for anomalous requests to plugin-related paths, especially those containing directory-traversal sequences or unusual file references.
- Look for unexpected child processes, new administrative accounts, or outbound connections originating from the vCenter operating system shortly after inbound 443 traffic.
- If you run network detection, alert on exploitation patterns described in the vendor or CISA guidance once you have validated those signatures.
How to remediate
The primary action is to apply the security updates published by VMware for this CVE. Follow the vendor’s instructions exactly—CISA’s required action is simply “Apply updates per vendor instructions.” After patching, verify the installed build number matches the fixed release listed in the advisory. As additional hardening for this class of flaw:
- Ensure vCenter is not exposed to untrusted networks; restrict management interfaces to dedicated jump hosts or VPN segments.
- Disable or remove any unused plugins once you have confirmed they are not required.
- Run vCenter with the minimal set of network services and keep the underlying operating system hardened and current.
- Enable and forward detailed audit logging so future anomalous plugin access can be detected quickly.
If you can't patch immediately
Until the vendor update can be installed, reduce exposure with compensating controls:
- Segment vCenter so that only authorized management stations can reach port 443; block the port at the perimeter and from general user VLANs.
- Place a web-application firewall or reverse proxy in front of the interface and apply virtual-patch rules that reject path-traversal patterns and known exploit request characteristics (tune these against the vendor’s description, not unverified signatures).
- Temporarily disable the affected plugin if the advisory and your operational requirements allow it.
- Increase monitoring: alert on any new processes spawned by the vCenter service account, unexpected file writes under system directories, and authentication events on the appliance.
- Snapshot or back up the vCenter configuration so you can recover cleanly if compromise is later confirmed.
If your data may have been exposed
Actively exploited vulnerabilities, especially those tied to ransomware, frequently lead to data theft or encryption. If you discover evidence of exploitation or cannot rule it out, treat the vCenter host and any systems it manages as potentially compromised: isolate, preserve forensic images, rotate credentials, and follow your incident-response plan. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information have already appeared in public dumps.
AICompiled with AI assistance from public sources and published under our editorial standards.