{
  "id": "CVE-2021-21985",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-21985",
  "published_at": "2021-05-26T14:04:30Z",
  "title": "VMware vCenter Server Improper Input Validation Vulnerability",
  "vendor": "VMware",
  "product": "VMware vCenter Server and VMware Cloud Foundation",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 161
  },
  "first_poc": {
    "created_at": "2021-05-29T13:07:14Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 3,
    "repo": "alt3kx/CVE-2021-21985_PoC",
    "source": "github"
  },
  "poc_repo_count": 7,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "r0ckysec/CVE-2021-21985",
      "url": "https://github.com/r0ckysec/CVE-2021-21985",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "bigbroke/CVE-2021-21985",
      "url": "https://github.com/bigbroke/CVE-2021-21985",
      "created_at": "2021-05-27T02:28:48Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-01-15T01:58:51Z"
    },
    {
      "repo": "alt3kx/CVE-2021-21985_PoC",
      "url": "https://github.com/alt3kx/CVE-2021-21985_PoC",
      "created_at": "2021-05-29T13:07:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 213,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-12-28T07:30:05Z"
    },
    {
      "repo": "onSec-fr/CVE-2021-21985-Checker",
      "url": "https://github.com/onSec-fr/CVE-2021-21985-Checker",
      "created_at": "2021-06-01T08:31:05Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "scanner",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-01-14T17:24:19Z"
    },
    {
      "repo": "mauricelambert/CVE-2021-21985",
      "url": "https://github.com/mauricelambert/CVE-2021-21985",
      "created_at": "2021-06-01T19:12:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-05-10T07:20:37Z"
    },
    {
      "repo": "xnianq/cve-2021-21985_exp",
      "url": "https://github.com/xnianq/cve-2021-21985_exp",
      "created_at": "2021-06-03T12:17:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 115,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-02-27T13:04:49Z"
    },
    {
      "repo": "daedalus/CVE-2021-21985",
      "url": "https://github.com/daedalus/CVE-2021-21985",
      "created_at": "2021-06-04T01:15:14Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2009-08-14T02:32:04Z"
    },
    {
      "repo": "testanull/Project_CVE-2021-21985_PoC",
      "url": "https://github.com/testanull/Project_CVE-2021-21985_PoC",
      "created_at": "2021-06-05T11:03:13Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 28,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-08-16T13:14:56Z"
    },
    {
      "repo": "haiclover/CVE-2021-21985",
      "url": "https://github.com/haiclover/CVE-2021-21985",
      "created_at": "2021-07-08T04:45:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2016-07-30T06:42:36Z"
    },
    {
      "repo": "haidv35/CVE-2021-21985",
      "url": "https://github.com/haidv35/CVE-2021-21985",
      "created_at": "2021-07-08T04:45:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2016-07-30T06:42:36Z"
    },
    {
      "repo": "aristosMiliaressis/CVE-2021-21985",
      "url": "https://github.com/aristosMiliaressis/CVE-2021-21985",
      "created_at": "2021-07-11T20:38:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-03-06T19:14:50Z"
    },
    {
      "repo": "sknux/CVE-2021-21985_PoC",
      "url": "https://github.com/sknux/CVE-2021-21985_PoC",
      "created_at": "2021-11-09T19:06:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-12-03T01:29:52Z"
    },
    {
      "repo": "zidanfanshao/vcenter_tools",
      "url": "https://github.com/zidanfanshao/vcenter_tools",
      "created_at": "2024-11-11T17:48:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 70,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-11-09T14:05:19Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/vmware_vcenter_vsan_health_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: VMware vCenter Server Virtual SAN Health Check Plugin RCE (exploit/linux/http/vmware_vcenter_vsan_health_rce)",
      "published_at": "2021-07-12T18:07:05Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21985.yaml",
      "source": "nuclei",
      "title": "nuclei template: VMware vSphere Client (HTML5) - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanProviderUtils_setVmodlHelper/invoke",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "{var}\\x0d\\x0a="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:105"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanProviderUtils_setVmodlHelper/prepare",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "{var}="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:97"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanProviderUtils_setVmodlHelper/setArguments",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "{var}="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:89"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanProviderUtils_setVmodlHelper/setStaticMethod",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "{var}\\x0d\\x0a="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:74"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanProviderUtils_setVmodlHelper/setTargetMethod",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "$\\x0d\\x0a{\\\"methodInput\\\":[\\\"doLookup\\\"]}\\x0d\\x0a="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:82"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanProviderUtils_setVmodlHelper/setTargetObject",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "{var}="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:66"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/\u0026vsanQueryUtil_setDataService{var}",
      "content_type": "application/json",
      "user_agents": [
        "pentest"
      ],
      "protocol": "http",
      "repos": [
        "xnianq/cve-2021-21985_exp"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "xnianq/cve-2021-21985_exp/cve-2021-21985.py:10"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/com.vmware.vsan.client.services.capability.VsanCapabilityProvider/$2",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "$1"
        },
        {
          "name": "$user-Agent",
          "value": "attacker"
        }
      ],
      "body_markers": [
        "{var}]}\\x0d\\x0a="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "sknux/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "sknux/CVE-2021-21985_PoC/cve-2021-21985_PoC:9"
      ]
    },
    {
      "method": "POST",
      "path_template": "/ui/h5-vsan/rest/proxy/service/com.vmware.vsan.client.services.capability.VsanCapabilityProvider/getClusterCapabilityData",
      "headers": [
        {
          "name": "$connection",
          "value": "close"
        },
        {
          "name": "$content-Type",
          "value": "application/json"
        },
        {
          "name": "$host",
          "value": "{var}"
        },
        {
          "name": "$user-Agent",
          "value": "alex666"
        }
      ],
      "body_markers": [
        "{var}]}\\x0d\\x0a="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "alt3kx/CVE-2021-21985_PoC"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "alt3kx/CVE-2021-21985_PoC/README.md:47"
      ]
    }
  ],
  "rules": []
}
