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