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

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