What this checks: whether a VMware vCenter host runs a version affected by unauth SSRF-to-RCE via vSAN Health Check plug-in. Read-only: it fingerprints VMware vCenter and reads the version, no exploitation.
3. Detection — reads the VMware vCenter version from the version exposed at /sdk, compares to 7.0 U2b (build 17958471). Flags vulnerable on an affected build. No exploitation.
1. Target List — paste your VMware vCenter URLs here, one per line (e.g. https://host.example.com).
Overview
This workflow finds VMware vCenter Server and sorts each host by whether its version and build fall below the single CVE-2021-21985 FIXED release in the graph. CVE-2021-21985 is remote code execution through the vSAN Health Check plug-in. This check never hits a vSAN Health URL and never sends an SSRF or RCE payload. Give it hostnames, IP addresses, or URLs you are authorised to test. The workflow GETs /sdk only, fingerprints vCenter from markers in that response, parses the VMware vCenter Server version and build- number, and compares the tuple to FIXED only at 7.0 U2b build 17958471. There is no FIXED_BRANCHES table, so 6.5 and 6.7 builds that parse below that tuple are flagged by the same rule. Every host comes back affected or not, so a fleet advisory becomes an evidenced list for exposure management. There is no confirm step.
Run it on a schedule when management planes change. A 7.0 appliance that never took U2b is the reason the same fingerprint stays useful.
Pipeline
Read the target list. Hosts, URLs, or ranges, one per line, become the scope.
GET /sdk on each host and fingerprint vCenter from response markers such as VMware vCenter Server, RetrieveServiceContentResponse, urn:vim25, and build-.
Parse the version and build string and compare the tuple to the single FIXED release 7.0.2 build 17958471. No FIXED_BRANCHES table.
Collect the per-host rows: product match, version, vulnerable flag, and any fetch error.
Emit the summary counts: hosts checked, product hits, vulnerable, and errors.
Inputs
Target scope. Hostnames, IP addresses, CIDR ranges, or URLs, one per line. Full URLs and host:port entries work too, since the workflow normalizes each into a bare host. Point it at scope you are authorised to test.
Outputs
results.jsonl. One row per host: URL, whether vCenter was detected, the version read, the vulnerable flag, and detail text.
findings.jsonl. The same per-host verdict shaped for triage, with severity set from the vulnerable flag.
summary.json. Counts across the list: targets, product hits, vulnerable, and errors, plus the detection notes from the graph.
Integrations
HTTP. Unauthenticated GET of /sdk only. No vSAN Health plug-in invoke and no SSRF probe.
Sample output
The records below are illustrative and do not come from a real run. They show one vCenter host below the CVE-2021-21985 FIXED release, one at or above it, and one host that is not the product.
Hosts whose parsed version and build tuple fall below the single FIXED release 7.0 U2b (build 17958471). There is no branch table, so 6.5 and 6.7 builds that parse below that tuple are flagged the same way. The compare uses the string the /sdk response itself served.
Does an affected row mean the vSAN Health plug-in ran?
No. The check only GETs /sdk and reads version and build. It does not hit a vSAN Health endpoint and it does not confirm RCE or SSRF.
Is this check safe on production?
Yes. It is a read-only unauthenticated GET of /sdk. It does not log in or invoke a plug-in.
Does the check need credentials?
No. It fingerprints the public /sdk surface the way an external scanner would.
What is CVE-2021-21985?
Remote code execution in VMware vCenter Server through the vSAN Health Check plug-in. This workflow maps hosts to that CVE by version and build exposure only against a single FIXED release.