Description
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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | VMware vCenter Server | 7.x before 7.0 U1c, 6.7 before 6.7 U3l, 6.5 before 6.5 U3n | — |
| — | VMware Cloud Foundation | 4.x before 4.2, 3.x before 3.10.1.2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
VMware vCenter Server Unauthenticated OVA File Upload RCE
exploit/multi/http/vmware_vcenter_uploadova_rce
Exploit-DB 2
- VMware vCenter Server 7.0 - Remote Code Execution (RCE) (Unauthenticated) EDB-50056 · webapps · Jun 24, 2021
- VMware vCenter Server 7.0 - Unauthenticated File Upload EDB-49602 · webapps · Mar 1, 2021
GitHub 27 repositories · most starred shown
-
Schira4396/VcenterKiller ★ 1,484 · Oct 4, 2022
一款针对Vcenter的综合利用工具,包含目前最主流的CVE-2021-21972、CVE-2021-21985以及CVE-2021-22005、One Access的CVE-2022-22954、CVE-2022-22972/31656以及log4j,提供一键上传webshell,命令执行或者上传公钥使用SSH免密连接
-
NS-Sp4ce/CVE-2021-21972 ★ 497 · Feb 24, 2021
CVE-2021-21972 Exploit
-
horizon3ai/CVE-2021-21972 ★ 268 · Feb 24, 2021
Proof of Concept Exploit for vCenter CVE-2021-21972
-
psc4re/NSE-scripts ★ 162 · Mar 11, 2020
NSE scripts to detect CVE-2020-1350 SIGRED and CVE-2020-0796 SMBGHOST, CVE-2021-21972, proxyshell, CVE-2021-34473
-
QmF0c3UK/CVE-2021-21972-vCenter-6.5-7.0-RCE-POC ★ 136 · Feb 24, 2021
-
alt3kx/CVE-2021-21972 ★ 52 · Feb 25, 2021
-
milo2012/CVE-2021-21972 ★ 33 · Feb 25, 2021
CVE-2021-21972
-
GuayoyoCyber/CVE-2021-21972 ★ 29 · Feb 26, 2021
Nmap script to check vulnerability CVE-2021-21972
-
conjojo/VMware_vCenter_UNAuthorized_RCE_CVE-2021-21972 ★ 28 · Feb 25, 2021
VMware vCenter 未授权RCE(CVE-2021-21972)
-
TaroballzChen/CVE-2021-21972 ★ 19 · Mar 7, 2021
CVE-2021-21972 Unauthorized RCE in VMware vCenter metasploit exploit script
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- VMware vSphere Client (HTML5) - Remote Code Execution http/cves/2021/CVE-2021-21972.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://www.vmware.com/security/advisories/VMSA-2021-0002.html
- http://packetstormsecurity.com/files/161590/VMware-vCenter-Server-7.0-Arbitrary-File-Upload.html
- http://packetstormsecurity.com/files/161695/VMware-vCenter-Server-File-Upload-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/163268/VMware-vCenter-6.5-6.7-7.0-Remote-Code-Execution.html