id: zyxel-router-panel

info:
  name: ZyXel Router Login Panel - Detect
  author: arafatansari
  severity: info
  description: ZyXel Router login panel was detected.
  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:zyxel:nr5101:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: zyxel
    product: nr5101
    shodan-query:
      - title:"Web-Based Configurator" html:"zyxel"
      - http.title:"web-based configurator" html:"zyxel"
    fofa-query: title="web-based configurator" html:"zyxel"
    google-query: intitle:"web-based configurator" html:"zyxel"
  tags: panel,zyxel,router,iot

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Welcome to the Web-Based Configurator'
          - 'zyxel'
        condition: and

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