id: huawei-hg532e-panel

info:
  name: Huawei HG532e Router Panel - Detect
  author: idealphase
  severity: info
  description: Huawei HG532e router login panel was detected. After installation, both the default username and default password are user.
  reference:
    - https://setuprouter.com/router/huawei/hg532e/1194.pdf
    - https://www.192-168-1-1-ip.co/router/huawei/hg532e/2186/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:h:huawei:hg532e:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    shodan-query: http.html:"HG532e"
    product: hg532e
    vendor: huawei
  tags: huawei,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>HG532e</title>"

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