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

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