.. / CVE-2022-43140

Exploit for kkFileView 4.1.0 - Server-Side Request Forgery (CVE-2022-43140)

Description:

kkFileView 4.1.0 is susceptible to server-side request forgery via the component cn.keking.web.controller.OnlinePreviewController#getCorsFile. An attacker can force the application to make arbitrary requests via injection of crafted URLs into the url parameter and thereby potentially obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

Nuclei Template

View the template here CVE-2022-43140.yaml

Validate with Nuclei

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

References:

https://github.com/kekingcn/kkFileView/issues/392
https://nvd.nist.gov/vuln/detail/CVE-2022-43140