2021-06-21 09:56:59 +00:00
|
|
|
id: mikrotik-routeros
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: MikroTik RouterOS Login
|
2022-11-25 09:57:14 +00:00
|
|
|
author: gy741,its0x08
|
2021-06-21 09:56:59 +00:00
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://systemweakness.com/routeros-user-with-just-ftp-policy-can-write-to-filesystem-cve-2021-27221-e3e45d780dfe
|
2022-11-25 10:09:38 +00:00
|
|
|
metadata:
|
2022-11-25 09:57:14 +00:00
|
|
|
verified: true
|
2022-12-02 10:29:41 +00:00
|
|
|
shodan-query: title:"RouterOS router configuration page"
|
|
|
|
tags: panel,login,mikrotik
|
2021-06-21 09:56:59 +00:00
|
|
|
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}'
|
2022-09-16 14:19:53 +00:00
|
|
|
- '{{BaseURL}}/cfg'
|
|
|
|
- '{{BaseURL}}/graphs/'
|
2021-06-21 09:56:59 +00:00
|
|
|
|
2022-12-02 10:29:41 +00:00
|
|
|
matchers-condition: and
|
2022-12-15 18:43:21 +00:00
|
|
|
stop-at-first-match: true
|
2021-06-21 09:56:59 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-09-16 14:19:53 +00:00
|
|
|
name: router
|
|
|
|
part: body
|
2021-06-21 09:56:59 +00:00
|
|
|
words:
|
|
|
|
- 'If this device is not in your possession, please contact your local network administrator'
|
2022-12-15 18:43:21 +00:00
|
|
|
- '.mikrotik.com'
|
2022-09-16 14:19:53 +00:00
|
|
|
- '<title>RouterOS router configuration page</title>'
|
2021-06-22 06:37:09 +00:00
|
|
|
condition: and
|
2022-09-16 14:19:53 +00:00
|
|
|
|
2022-12-15 18:43:21 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: router-old
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '<title>mikrotik routeros > administration</title>'
|
|
|
|
- '<title>Mikrotik Router'
|
|
|
|
- '<img src="/webcfg/'
|
|
|
|
- '<title>MikroTik RouterOS Managing Webpage</title>'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: hotspot
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'Please log on to use the mikrotik hotspot service'
|
|
|
|
- 'mikrotik hotspot > login'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: mikrotik-httpproxy
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "Server: mikrotik httpproxy"
|
|
|
|
|
2022-09-16 14:19:53 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
group: 1
|
|
|
|
regex:
|
2022-12-15 18:43:21 +00:00
|
|
|
- "<h1>RouterOS (.+)</h1>"
|
|
|
|
- '<div class="top">mikrotik routeros (.[0-9.]+) configuration page</div>'
|
|
|
|
- 'routeros (.[0-9.]+) '
|
|
|
|
- '<b>MikroTik RouterOS (.[0-9.]+)</b>'
|