🔙 목록으로 돌아가기

CVE-2021-21985: VMware vSphere Client (HTML5) - Remote Code Execution

TitleVMware vSphere Client (HTML5) - Remote Code Execution
AuthorD0rkerDevil
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
RemediationApply the necessary security patches or updates provided by VMware to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94412
CVE IDCVE-2021-21985
CWE IDCWE-20
Tags cve2021 cve packetstorm rce vsphere vmware kev vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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}]}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21985.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-21985.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A