nuclei-templates/cves/2021/CVE-2021-21985.yaml

35 lines
1.3 KiB
YAML
Raw Normal View History

2021-05-31 13:50:59 +00:00
id: CVE-2021-21985
info:
name: VMware vSphere Client (HTML5) RCE
author: D0rkerDevil
severity: critical
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.
reference:
2021-05-31 13:50:59 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-21985
- https://www.vmware.com/security/advisories/VMSA-2021-0010.html
- https://github.com/alt3kx/CVE-2021-21985_PoC
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2021-21985
cwe-id: CWE-20
tags: cve,cve2021,rce,vsphere,vmware
2021-05-31 13:50:59 +00:00
requests:
- raw:
- |
POST /ui/h5-vsan/rest/proxy/service/com.vmware.vsan.client.services.capability.VsanCapabilityProvider/getClusterCapabilityData HTTP/1.1
Host: {{Hostname}}
Accept: */*
Content-Type: application/json
{"methodInput":[{"type":"ClusterComputeResource","value": null,"serverGuid": null}]}
matchers:
- type: word
words:
- '{"result":{"isDisconnected":'
part: body