{
  "Name": "VMware vCenter file upload (CVE-2021-22005)",
  "Description": "<p>VMware vCenter Server is a set of server and virtualization management software from Vmware. The software provides a centralized platform for managing VMware vSphere environments, which can automatically implement and deliver virtual infrastructure.</p><p>VMware vCenter Server has arbitrary file upload vulnerabilities. Attackers can upload specially crafted files through port 443 of VMware vCenter Server and execute arbitrary code on vCenter Server.</p>",
  "Product": "Vmware VCenter",
  "Homepage": "https://www.vmware.com/products/vcenter-server.html",
  "DisclosureDate": "2021-09-26",
  "Author": "keeeee",
  "FofaQuery": "body=\"VMware vSphere is virtual\"",
  "Level": "3",
  "Impact": "<p>VMware vCenter Server has arbitrary file upload vulnerabilities. Attackers can upload specially crafted files through port 443 of VMware vCenter Server and execute arbitrary code on vCenter Server.",
  "Recommandation": "<p>The vendor has released a bug fix, please pay attention to the update in time: <a href=\"https://www.vmware.com/security/advisories/VMSA-2021-0020.html\">https://www.vmware.com/security/advisories/VMSA-2021-0020.html</a><br></p>",
  "References": [
    "https://kb.vmware.com/s/article/85717",
    "https://testbnull.medium.com/quick-note-of-vcenter-rce-cve-2021-22005-4337d5a817ee"
  ],
  "HasExp": true,
  "ExpParams": [
    {
      "name": "AttackType",
      "type": "select",
      "value": "cmd,GetShell,Behinder_webshell"
    },
    {
      "name": "cmd",
      "type": "input",
      "value": "whoami",
      "show": "AttackType=cmd"
    },
    {
      "name": "passwd",
      "type": "input",
      "value": "vulgo",
      "show": "AttackType=GetShell"
    },
    {
      "name": "password",
      "type": "input",
      "value": "rebeyond",
      "show": "AttackType=Behinder_webshell"
    }
  ],
  "ExpTips": null,
  "ScanSteps": [
    "AND",
    {
      "Request": {
        "method": "GET",
        "uri": "/test.php",
        "follow_redirect": true,
        "header": {},
        "data_type": "text",
        "data": ""
      },
      "ResponseTest": {
        "type": "group",
        "operation": "AND",
        "checks": [
          {
            "type": "item",
            "variable": "$code",
            "operation": "==",
            "value": "200",
            "bz": ""
          },
          {
            "type": "item",
            "variable": "$body",
            "operation": "contains",
            "value": "test",
            "bz": ""
          }
        ]
      },
      "SetVariable": []
    }
  ],
  "ExploitSteps": [
    "AND",
    {
      "Request": {
        "method": "GET",
        "uri": "/test.php",
        "follow_redirect": true,
        "header": {},
        "data_type": "text",
        "data": ""
      },
      "ResponseTest": {
        "type": "group",
        "operation": "AND",
        "checks": [
          {
            "type": "item",
            "variable": "$code",
            "operation": "==",
            "value": "200",
            "bz": ""
          },
          {
            "type": "item",
            "variable": "$body",
            "operation": "contains",
            "value": "test",
            "bz": ""
          }
        ]
      },
      "SetVariable": []
    }
  ],
  "Tags": [
    "fileupload"
  ],
  "CVEIDs": [
    "CVE-2021-24146"
  ],
  "CVSSScore": "9.8",
  "AttackSurfaces": {
    "Application": [
      "modern-events-calendar-lite"
    ],
    "Support": null,
    "Service": null,
    "System": null,
    "Hardware": null
  },
  "VulType": [
    "fileupload"
  ],
  "CVE": "CVE-2021-22005"
}