CVE DatabaseCVE-2021-21972
한국어 권고문 →
CVE-2021-219729.8/CRITICALCISA KEVCWE-22CWE-22

VMware vCenter Server vSphere Client Remote Code Execution (RCE) Vulnerability Advisory (CVE-2021-21972)

⚡ Jump to Patch
Affected Vendors
vmware
Affected Components
vcenter_server, cloud_foundation
Published Date
2021-02-24
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
99.9%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

VMware vCenter Server versions 7.0, 6.7, 6.5 and VMware Cloud Foundation versions 4.x, 3.x

Impact

Unauthenticated remote attackers with network access to port 443 can execute arbitrary commands with unrestricted privileges on the underlying operating system

Mitigation

Immediately upgrade to the patched versions or apply the official workaround to disable the vulnerable plugin

Affected Products & Version Scope

VMware vCenter Server (7.0 before 7.0 U1c, 6.7 before 6.7 U3l, and 6.5 before 6.5 U3n) and VMware Cloud Foundation (4.x before 4.2 and 3.x before 3.10.1.2)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is upgrading vCenter Server to a non-vulnerable version. Use the VCSA management interface or CLI to apply the update.

bash
# Upgrade vCenter Server Appliance (VCSA) via CLI
# 1. Log in to the VCSA as root via SSH.
# 2. Check and install the latest software update packages.
software-packages install --url --acceptEulas

# 3. Restart the vSphere Client service to apply changes.
service-control --stop vsphere-ui
service-control --start vsphere-ui

2. Temporary Workaround & Hardening Configuration

If patching cannot be performed immediately, disable the vulnerable vRealize Operations plugin to mitigate the attack vector.

bash
# Workaround for Linux-based vCenter Server Appliance (VCSA)
# 1. Access the vCenter Server via SSH and enter the bash shell.
shell

# 2. Navigate to the plugin directory and rename the vulnerable plugin folder.
cd /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/
if [ -d 'com.vmware.vrops.install-6.x.x' ]; then
  mv com.vmware.vrops.install-6.x.x com.vmware.vrops.install-6.x.x.backup
  echo 'Plugin successfully disabled.'
fi

# 3. Restart the vsphere-ui service to apply the workaround.
service-control --stop vsphere-ui && service-control --start vsphere-ui

3. Log Audit & IoC Verification Commands

Inspect web server logs and critical directories to identify potential exploitation attempts.

bash
# 1. Search for exploitation attempts targeting the uploadova endpoint
grep -i 'uploadova' /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log

# 2. Inspect the root SSH authorized_keys file for unauthorized keys
cat /root/.ssh/authorized_keys

# 3. Verify the current vCenter Server version
com.vmware.appliance.version.get
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Restrict external network access to port 443 on vCenter Server and immediately apply the official VMware security patches.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability exists in the vSphere Client (HTML5) within a default-installed vCenter Server plugin (specifically the vRealize Operations vCenter Adapter and its uploadova endpoint). Due to insufficient input validation of uploaded files, the application is susceptible to a Path Traversal (CWE-22) vulnerability. This architectural flaw allows unauthenticated remote attackers to write or overwrite arbitrary files on the local file system.

2. Exploitation Mechanics & Attack Scenario

An attacker initiates the exploit by sending a specially crafted tar archive via an HTTP POST request to the /ui/vropsplugin/vropsplugin/uploadova endpoint over port 443. By embedding path traversal sequences (e.g., ../../) within the archive, the attacker forces the server to extract files outside the intended directory. This allows the creation of a web shell in the web root or the injection of an SSH public key into the /root/.ssh/authorized_keys file, leading to unauthorized remote command execution with root privileges.

3. Infrastructure & Business Impact

vCenter Server acts as the centralized management plane for virtualized enterprise infrastructures. With a CVSS score of 9.8, successful exploitation of this vulnerability grants full control over the vCenter Server, allowing attackers to compromise all managed ESXi hosts and virtual machines. This can lead to catastrophic business disruption, data exfiltration, and ransomware deployment. Active exploitation in the wild (CISA KEV) underscores the critical urgency of remediation.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-21972)

FAQ

Q1. How critical is CVE-2021-21972 and is it actively exploited in the wild?

CVE-2021-21972 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 99.9%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2021-21972?

Primary impacted vendors include vmware across vcenter_server, cloud_foundation. Scope summary: VMware vCenter Server (7.0 before 7.0 U1c, 6.7 before 6.7 U3l, and 6.5 before 6.5 U3n) and VMware Cloud Foundation (4.x before 4.2 and 3.x before 3.10.1.2)

Q3. What temporary mitigations or workarounds exist for CVE-2021-21972 before patching?

[Mitigation] Immediately upgrade to the patched versions or apply the official workaround to disable the vulnerable plugin Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2021-21972

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (vmware)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2021-21972 VMware vCenter Server vSphere Client Remote Code Execution (RCE) Vulnerability Advisory (CVE-2021-21972) (CVSS 9.8) - Patch & Workaround | CVE Pulse