id: mikrotik-routeros-old

info:
  name: MikroTik RouterOS Admin Login Panel - Detect
  author: its0x08,DhiyaneshDk
  severity: info
  description: MikroTik RouterOS admin 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:o:mikrotik:routeros:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: routeros
    shodan-query: title:"mikrotik routeros > administration"
    vendor: mikrotik
    verified: true
  tags: panel,login,mikrotik

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers:
      - type: word
        part: body
        words:
          - 'mikrotik routeros > administration'
          - 'configuration page'
        condition: and

    extractors:
      - type: regex
        group: 1
        regex:
          - '<div class="top">mikrotik routeros (.[0-9.]+) configuration page</div>'
# digest: 4a0a0047304502207b8538270aca23b6fc6615d9e89b908377c03691408ad27eb96fccbb7ee7a010022100bad7780543436de6dbcef6c635466ab50ed9c11d6935c3841a87d7fffb1b6fbb:922c64590222798bb761d5b6d8e72950