CVE-2021-22005 — VMware vCenter Server File Upload Vulnerability

CVE-2021-22005

VMware vCenter Server — Unauthenticated File Upload via Analytics Service Enabling RCE on Port 443, Exploited in Ransomware Campaigns

What is VMware vCenter Server?

VMware vCenter Server is the centralized management platform for VMware vSphere virtualization infrastructure — the hypervisor layer running virtual machines in most enterprise datacenters. A compromised vCenter Server gives an attacker administrative control over the entire virtual infrastructure: the ability to create, modify, snapshot, and delete VMs; access to all VM disk contents; and network-level control over the virtualized environment. CVE-2021-22005 is one of the most impactful vCenter vulnerabilities ever disclosed.

Overview

CVE-2021-22005 is a critical unauthenticated file upload vulnerability (CWE-22) in VMware vCenter Server's Analytics service. An attacker with network access to port 443 can upload arbitrary files to the vCenter VCSA (virtual appliance) without authentication, enabling remote code execution as root. VMware issued patches on September 21, 2021, and CISA issued an emergency alert the following day urging immediate action — noting that exploitation would occur within 24 hours, which proved accurate. Ransomware groups actively exploited this vulnerability.

Affected Versions

Product Vulnerable Fixed
vCenter Server 7.0 < 7.0 U2d 7.0 U2d
vCenter Server 6.7 < 6.7 U3o 6.7 U3o
vCenter Server 6.5 < 6.5 U3q 6.5 U3q
Cloud Foundation 4.x (vCenter) < 4.3 4.3
Cloud Foundation 3.x (vCenter) < 3.10.2.1 3.10.2.1

Technical Details

The vCenter Analytics service is a component that collects telemetry and usage data from the vCenter deployment. A file upload endpoint in this service lacks authentication, allowing any unauthenticated HTTP client to upload files to the vCenter filesystem:

  • Vulnerable service: vCenter Analytics service, accessible via HTTPS on port 443
  • Authentication required: None — the upload endpoint is pre-auth accessible
  • File placement: Uploaded files can be placed in web-accessible directories
  • Webshell deployment: Uploading a JSP webshell to a Tomcat-accessible directory provides interactive code execution
  • Execution context: The vCenter Tomcat process and related services run with elevated privileges on the VCSA appliance — in many environments, equivalent to root
  • Speed of exploitation: Working public exploits appeared within 24 hours of VMware's patch publication, consistent with CISA's warning

Discovery

Identified by Haoxi Tan of BSRC (Baidu Security Research Center). VMware coordinated disclosure and released patches and an advisory simultaneously.

Exploitation Context

CVE-2021-22005 was immediately and massively exploited. Multiple ransomware groups (including BlackMatter, Conti, and others) used it to deploy ransomware across virtualized environments by compromising vCenter and using its VM management capabilities to encrypt entire virtual machine datastores. Nation-state actors also used it for espionage — vCenter access provides visibility into the entire virtual infrastructure and all VMs running in it. CISA's unusually urgent advisory reflected the severity and likely speed of exploitation.

Remediation

  1. Apply VMware Security Advisory VMSA-2021-0020 patches for your vCenter version immediately
  2. If immediate patching is not possible, VMware published a workaround script to disable the Analytics service — apply this before the permanent patch
  3. Restrict network access to vCenter's management interface (port 443) to trusted management network IPs only — vCenter should never be internet-accessible
  4. If the vCenter was exposed and unpatched, treat it as potentially compromised: check for webshells in Tomcat directories, unexpected processes, and unauthorized VM snapshots
  5. Review all VM snapshots and datastores for unauthorized modifications
  6. Rotate all vCenter administrative credentials and service account passwords after patching

Key Details

PropertyValue
CVE ID CVE-2021-22005
Vendor / Product VMware — vCenter Server
NVD Published2021-09-23
NVD Last Modified2025-10-30
CVSS 3.1 Score9.8
CVSS 3.1 VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SeverityCRITICAL
CWE CWE-22 find similar ↗
CISA KEV Added2021-11-03
CISA KEV Deadline2021-11-17
Known Ransomware Use ⚠️ Yes

CVSS 3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2021-11-17. Apply updates per vendor instructions.

Timeline

DateEvent
2021-09-21VMware releases VMSA-2021-0020 advisory and patches
2021-09-23CVE published
2021-09-24CISA issues alert urging immediate patching of CVE-2021-22005
2021-11-03Added to CISA Known Exploited Vulnerabilities catalog
2021-11-17CISA BOD 22-01 remediation deadline

References

ResourceType
VMware Security Advisory VMSA-2021-0020 Vendor Advisory
NVD — CVE-2021-22005 Vulnerability Database
CISA KEV Catalog Entry US Government