PoC Monitor
← All CVEs
CVE-2018-14847published 2 Aug 2018 07:00 UTCData: JSON · API

MikroTik RouterOS

MikroTik Router OS Directory Traversal Vulnerability

Edge device · Router / network deviceknown edge product: MikroTik RouterOS MikroTik Router OS Directory Traversal (high confidence)

MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated attackers to write arbitrary files due to a directory traversal vulnerability in the WinBox interface.

First public PoC 69 daysafter publication · 10 Oct 2018 · Exploit-DB
Public PoCs4139 on GitHub · 2 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS9.1critical · scored by CISA ADP · CWE-22
CISA KEV 1 Dec 20213.3 years after publication

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900+1080CVE published2 Aug 2018 · t = 0First public PoC10 Oct 2018 · t+69dAdded to CISA KEV1 Dec 2021 · t+3.3y

First public PoC 69 days after publication; added to CISA KEV 3.3 years after publication. First PoC: MicroTik RouterOS < 6.43rc3 - Remote Root (Exploit-DB, 10 Oct 2018).

PoC repositories

Found on GitHub.

39 PoCs · 2 pending · 2 suspicious or fake

PoCs 39
RepositoryCreatedStarsAssessment
BasuCert/WinboxPoC 24 Jun 2018 −39 d 521 PoC older repo: PoC date unknown, not used for the first PoC
mrmtwoj/0day-mikrotik 25 Jul 2018 −7.7 d 119 PoC older repo: PoC date unknown, not used for the first PoC
syrex1013/MikroRoot 13 Oct 2018 +73 d 16 PoC
nomiyousafzai/mnk 2 Dec 2018 +123 d 2 PoC
jas502n/CVE-2018-14847 15 Dec 2018 +135 d 30 PoC
firmanandriansyah/WinboxExploitMikrotik 30 Dec 2018 +150 d 13 PoC
ridwan-aplikom/hackwifi 26 Jan 2019 +177 d 0 PoC
mahmoodsabir/mikrotik-beast 26 May 2019 +297 d 6 PoC
ferib/WinboxExploit 17 Jun 2019 +320 d 1 PoC via PoC Index
eckoxxx/ecko 12 Jul 2019 +344 d 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Jie-Geng/PoC 13 Sep 2019 +1.1 y 2 PoC
Tr33-He11/winboxPOC 25 Sep 2019 +1.1 y 1 PoC
sinichi449/Python-MikrotikLoginExploit 29 Sep 2019 +1.2 y 21 PoC
etc-i/Y 28 Nov 2019 +1.3 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

vickysanthosh/routersploit 29 Nov 2019 +1.3 y 0 PoC
Acengerz/WinboxPoC 20 Feb 2020 +1.6 y 0 PoC
ElAcengerz/WinboxPoC 28 Feb 2020 +1.6 y 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

MRZyNoX/Wifi-Hack 3 Mar 2020 +1.6 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

exploit747/WinboxPoc 22 Apr 2020 +1.7 y 0 PoC
yukar1z0e/CVE-2018-14847 29 Apr 2020 +1.7 y 1 PoC
spot-summers/winbox 13 May 2020 +1.8 y 0 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ahmadyusuf23/Mikrotik-Exploit 16 Jul 2020 +2.0 y 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Octha-DroiidXz/Cracker-Winbox 21 Jul 2020 +2.0 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

alamsyahh15/PocWinbox 1 Oct 2020 +2.2 y 0 PoC
k8gege/LadonGo 6 Nov 2020 +2.3 y 1,720 PoC via PoC Index
RainardHuman/WinBox_Exploit 19 Nov 2020 +2.3 y 0 PoC
notfound-git/WinboxPoC 26 Dec 2020 +2.4 y 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

AsrafulDev/winboxbug 31 Aug 2021 +3.1 y 0 PoC
developershakil260/winboxbug 31 Aug 2021 +3.1 y 0 PoC
johnoseni1/Router-hacker-Exploit-and-extract-user-and-password- 11 Nov 2021 +3.3 y 38 PoC
babyshen/routeros-CVE-2018-14847-bytheway 31 Oct 2022 +4.2 y 4 PoC
Ratlesv/LadonGo 20 Jun 2023 +4.9 y 1 PoC via PoC Index
jphasibuan23/Tes 14 Nov 2023 +5.3 y 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

PuguhDy/0-day-exploit-Mikrotik 4 Apr 2024 +5.7 y 1 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Djay-ui/Mikrotik-router-hack 23 Oct 2024 +6.2 y 1 PoC
tausifzaman/CVE-2018-14847 16 Apr 2025 +6.7 y 1 PoC
TheMalwareGuardian/CVE-2018-14847 27 Apr 2026 +7.7 y 1 PoC
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

mourafuseti/VULNERAVEL-CVE-2018-14847---CREDENCIAIS-EXTRAIDAS 20 May 2026 +7.8 y 1 PoC
luel-4013/misfortune-cookie 7 Sep 2026 +8.1 y 0 PoC via PoC Index
Pending 2
RepositoryCreatedStarsAssessment
msterusky/WinboxExploit 11 Sep 2018 +41 d 7 Pending · mkdir /quarantine/msterusky__WinboxExploit-8d02ea2ff552: permission denied
K3ysTr0K3R/CVE-2018-14847-EXPLOIT unknown 0 Pending · repository unavailable (HTTP 404)
Suspicious or fake 2
RepositoryCreatedStarsAssessment
hacker30468/Mikrotik-router-hack 21 Apr 2021 +2.7 y 53 Suspicious · score 60
Why suspicious
  • README gives an archive password
  • owner account created less than 7 days before the repo
whiterabb17/MkCheck 7 Sep 2021 +3.1 y 13 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 39 PoC repos

POST /owa/auth/temp.js

Key headers
Cookie: X-BEResource={var}/EWS/Exchange.asmx?a=~1942062522;
Content-Type
text/xml
Ports
888, 8080
Seen in
2 repos: Ratlesv/LadonGo, k8gege/LadonGo
Evidence
Ratlesv/LadonGo/vul/CVE_2021_26855.go:139 k8gege/LadonGo/vul/CVE_2021_26855.go:139

POST /courier/oauth.api

Query
sid=935ee00 rid=9700968/initial rid=9708980/initial
Body markers
cmd=V,DF,$( secret= in application/x-www-form-urlencoded
Ports
80
Seen in
1 repo: luel-4013/misfortune-cookie
Evidence
luel-4013/misfortune-cookie/accellion_fta.py:34 luel-4013/misfortune-cookie/accellion_fta.py:73

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /owa/auth/temp.js
(?i)^/owa/auth/temp\.js(?:[?#].*)?$
GET /courier/oauth.api
(?i)^/courier/oauth\.api\?(?:.*&)?username=id
POST /courier/oauth.api
(?i)^/courier/oauth\.api\?(?:.*&)?sid=935ee00.*rid=9700968/initial.*rid=9708980/initial
POST /ctrlt/DeviceUpgrade_1
(?i)^/ctrlt/DeviceUpgrade_1(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /owa/auth/temp.js
alert http any any -> $HOME_NET [888,8080] (msg:"GG PoC-Monitor CVE-2018-14847 MikroTik RouterOS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/owa/auth/temp.js"; http.header; content:"Cookie: X-BEResource="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2018-14847; classtype:web-application-attack; sid:9353257; rev:1;)
GET /courier/oauth.api
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2018-14847 MikroTik RouterOS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/courier/oauth.api"; http.uri; content:"username=id"; reference:url,poc.griffinguard.io/cve/CVE-2018-14847; classtype:web-application-attack; sid:9681024; rev:1;)
POST /courier/oauth.api
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2018-14847 MikroTik RouterOS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/courier/oauth.api"; http.uri; content:"sid=935ee00"; http.uri; content:"rid=9700968/initial"; http.uri; content:"rid=9708980/initial"; http.request_body; content:"cmd=V,DF,$("; http.request_body; content:"secret="; reference:url,poc.griffinguard.io/cve/CVE-2018-14847; classtype:web-application-attack; sid:9673698; rev:1;)
POST /ctrlt/DeviceUpgrade_1
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2018-14847 MikroTik RouterOS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ctrlt/DeviceUpgrade_1"; reference:url,poc.griffinguard.io/cve/CVE-2018-14847; classtype:web-application-attack; sid:9720237; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /owa/auth/temp.js
title: MikroTik RouterOS exploit attempt (CVE-2018-14847)
id: gg-pocmon-cve-2018-14847-9353257
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-14847. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-14847
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/owa/auth/temp.js'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.14847
GET /courier/oauth.api
title: MikroTik RouterOS exploit attempt (CVE-2018-14847)
id: gg-pocmon-cve-2018-14847-9681024
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-14847. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-14847
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/courier/oauth.api'
    cs-uri-query|contains|all:
      - 'username=id'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.14847
POST /courier/oauth.api
title: MikroTik RouterOS exploit attempt (CVE-2018-14847)
id: gg-pocmon-cve-2018-14847-9673698
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-14847. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-14847
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/courier/oauth.api'
    cs-uri-query|contains|all:
      - 'sid=935ee00'
      - 'rid=9700968/initial'
      - 'rid=9708980/initial'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.14847
POST /ctrlt/DeviceUpgrade_1
title: MikroTik RouterOS exploit attempt (CVE-2018-14847)
id: gg-pocmon-cve-2018-14847-9720237
status: experimental
description: Request pattern taken from public PoCs for CVE-2018-14847. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2018-14847
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/ctrlt/DeviceUpgrade_1'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2018.14847