.. / CVE-2022-40879

Exploit for kkFileView 4.1.0 - Cross-Site Scripting (CVE-2022-40879)

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.

Nuclei Template

View the template here CVE-2022-40879.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-40879.yaml
Copy

References:

https://github.com/kekingcn/kkFileView/issues/389
https://github.com/ARPSyndicate/cvemon
https://github.com/ARPSyndicate/kenzer-templates
https://github.com/Henry4E36/POCS
https://nvd.nist.gov/vuln/detail/CVE-2022-40879