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:
    verified: true
    max-request: 1
    vendor: mikrotik
    product: routeros
    shodan-query:
      - title:"mikrotik routeros > administration"
      - http.title:"mikrotik routeros > administration"
    fofa-query: title="mikrotik routeros > administration"
    google-query: intitle:"mikrotik routeros > administration"
  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: 4b0a0048304602210082b11c2701e02d0fdaecb39593bdfc4d45ababa7ed40ccb46003db20e0418fad022100bd2b8d1f28ce535b2aa380c5b5af41b34a53c9ae04f5e36f3a3fe0a081eb592c:922c64590222798bb761d5b6d8e72950