cve.bz

CVE-2021-21972 VMware vCenter Server Remote Code Execution Vulnerability

9.8 criticalKEVExploitEPSS 99.8%

Critical (9.8) in VMware vCenter Server. In CISA KEV since 2021-11-03, with known ransomware use. EPSS 99.8% estimated probability of exploitation activity in the next 30 days.

On this page
The vSphere Client (HTML5) contains a remote code execution vulnerability in a vCenter Server plugin. 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. This affects VMware vCenter Server (7.x 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).

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
99.8% (unchanged from 99.8% a week ago; 99.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2021-11-03, due 2021-11-17, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2021-02-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-21972 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21972?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21972?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21972 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
vmware:cloud_foundationfrom 3.0 before 3.10.1.2
vmware:cloud_foundationfrom 4.0 before 4.2
vmware:vcenter_server6.5
vmware:vcenter_server6.5:a
vmware:vcenter_server6.5:b
vmware:vcenter_server6.5:c
vmware:vcenter_server6.5:d
vmware:vcenter_server6.5:e
vmware:vcenter_server6.5:f
vmware:vcenter_server6.5:update1d
vmware:vcenter_server6.5:update1e
vmware:vcenter_server6.5:update1g
vmware:vcenter_server6.5:update2
vmware:vcenter_server6.5:update2b
vmware:vcenter_server6.5:update2c
vmware:vcenter_server6.5:update2d
vmware:vcenter_server6.5:update2g
vmware:vcenter_server6.5:update3
vmware:vcenter_server6.5:update3d
vmware:vcenter_server6.5:update3f
vmware:vcenter_server6.5:update3k
vmware:vcenter_server6.7
vmware:vcenter_server6.7:a
vmware:vcenter_server6.7:b
vmware:vcenter_server6.7:d
vmware:vcenter_server6.7:update1
vmware:vcenter_server6.7:update1b
vmware:vcenter_server6.7:update2
vmware:vcenter_server6.7:update2a
vmware:vcenter_server6.7:update2c
vmware:vcenter_server6.7:update3
vmware:vcenter_server6.7:update3a
vmware:vcenter_server6.7:update3b
vmware:vcenter_server6.7:update3f
vmware:vcenter_server6.7:update3g
vmware:vcenter_server6.7:update3j
vmware:vcenter_server7.0
vmware:vcenter_server7.0:a
vmware:vcenter_server7.0:b
vmware:vcenter_server7.0:c
vmware:vcenter_server7.0:d
vmware:vcenter_server7.0:update1
vmware:vcenter_server7.0:update1a

Public exploits

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • Hurrrraaaa/CVE-2021-21972 0 stars, created
    VMware vCenter Server CVE-2021-21972 (RCE) — vulnerability analysis, detection, and mitigation

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template VMware vSphere Client (HTML5) - Remote Code Execution
  • Emerging Threats Open ET EXPLOIT Inbound VMware vCenter RCE Attempt M1 (CVE-2021-21972) sid 2031667
  • Emerging Threats Open ET EXPLOIT Inbound VMware vCenter RCE Attempt M2 (CVE-2021-21972) sid 2031668
  • Emerging Threats Open ET EXPLOIT Inbound VMware vCenter RCE Attempt with Untrusted SSH Key Upload (CVE-2021-21972) sid 2031669
  • Emerging Threats Open ET EXPLOIT Inbound VMware vCenter RCE Attempt M3 (CVE-2021-21972) sid 2031670
  • Emerging Threats Open ET EXPLOIT Inbound VMware vCenter RCE Attempt M4 (CVE-2021-21972) sid 2031671

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON