CVE-2021-21985: VMware vCenter Server · Remote code execution
Exploitation: In the wild · CVSS 9.8 Critical · Unauthenticated · Published 2021-05-26
Description
The vSphere Client (HTML5) contains a remote code execution vulnerability due to lack of input validation in the Virtual SAN Health Check plug-in which is enabled by default in vCenter Server. A malicious actor with network access to port 443 may exploit this issue to execute commands with unrestricted privileges on the underlying operating system that hosts vCenter Server.
Enclave's analysis
Remote code execution in the vSphere Client's Virtual SAN Health Check plug-in, which is on by default in vCenter Server. An attacker with network access to port 443 can run commands on the underlying OS, with no login needed. It's on CISA's KEV list, flagged for ransomware use, and EPSS is near 1. Patch to the fixed vCenter or Cloud Foundation builds, and keep vCenter off untrusted networks.
Fix
Upgrade VMware vCenter Server 7.x to 7.0 U2b; VMware vCenter Server 6.7 to 6.7 U3n; VMware vCenter Server 6.5 to 6.5 U3p. See the affected versions for other product fixes. No fixed version is listed for VMware vCenter Server and VMware Cloud Foundation; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| VMware vCenter Server and VMware Cloud Foundation | VMware vCenter Server (7.x before 7.0 U2b, 6.7 before 6.7 U3n, 6.5 before 6.5 U3p) and VMware Cloud Foundation (4.x before 4.2.1, 3.x before 3.10.2.1) | Not listed |
| VMware vCenter Server 7.x | 7.x before 7.0 U2b | 7.0 U2b |
| VMware vCenter Server 6.7 | 6.7 before 6.7 U3n | 6.7 U3n |
| VMware vCenter Server 6.5 | 6.5 before 6.5 U3p | 6.5 U3p |
| VMware Cloud Foundation 4.x | 4.x before 4.2.1 | 4.2.1 |
| VMware Cloud Foundation 3.x | 3.x before 3.10.2.1 | 3.10.2.1 |