id: netis-router

info:
  name: Netis Router Login Panel - Detect
  author: gy741
  severity: info
  description: Netis router login panel was detected.
  reference:
    - https://www.tacnetsol.com/blog/cve-2019-8985-rce
  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
  metadata:
    max-request: 1
  tags: panel,login,netis,router

http:
  - method: GET
    path:
      - '{{BaseURL}}/login.htm'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>AP setup</title>'

      - type: word
        part: header
        words:
          - 'Server: netis'

      - type: status
        status:
          - 200
# digest: 490a00463044022060239899ddcc2a3a4a2d5685041aa21bd4b0f50a8824e347e0b832268d70f91502207304151b1553d56f5f8dc8f5e71df5aad7dbcf4ca50d56a999c3d1e35fbbb76f:922c64590222798bb761d5b6d8e72950