Improper authentication in MikroTik RouterOS - CVE-2018-14847
Published: April 24, 2018 / Updated: May 13, 2024
Vulnerability identifier: #VU12140
CSH Severity: Critical
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-14847
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability:
The vulnerability is being exploited in the wild
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists due to improper authentication in the exposed by default Winbox interface on port 8291/TCP. A remote attacker can send specially crafted packets to the affected service, bypass authentication, download local database with user accounts and gain full access to the vulnerable device.
Successful exploitation of the vulnerability may result in system compromise.
Note: this vulnerability has being exploited in the wild in April 2018.
The weakness exists due to improper authentication in the exposed by default Winbox interface on port 8291/TCP. A remote attacker can send specially crafted packets to the affected service, bypass authentication, download local database with user accounts and gain full access to the vulnerable device.
Successful exploitation of the vulnerability may result in system compromise.
Note: this vulnerability has being exploited in the wild in April 2018.
Affected software
MikroTik RouterOS
How to mitigate CVE-2018-14847
Update to version 6.40.8 or 6.42.1.
Links to Public Exploits and PoC-codes
- Exploit #9814 - CVE-2018-14847-EXPLOIT (A PoC exploit for CVE-2018-14847 - MikroTik WinBox File Read) (May 13, 2024)
- Exploit #8550 - routeros-CVE-2018-14847-bytheway (By the Way is an exploit that enables a root shell on Mikrotik devices running RouterOS versions:) (October 31, 2022)
- Exploit #6178 - Mikrotik WinBox 6.42 - Credential Disclosure (golang) (June 17, 2021)
- Exploit #6053 - MicroTik RouterOS < 6.43rc3 - Remote Root (June 17, 2021)
- Exploit #4793 - Mikrotik Winbox Arbitrary File Read (November 5, 2020)
- Exploit #3456 - mikrotik-beast ( Mass MikroTik WinBox Exploitation tool, CVE-2018-14847 ) (July 15, 2020)
- Exploit #2153 - WinboxExploit (C# implementation of BasuCert/WinboxPoC [Winbox Critical Vulnerability (CVE-2018-14847)]) (March 18, 2020)
- Exploit #2154 - MikroRoot (Automated version of CVE-2018-14847 (MikroTik Exploit)) (March 18, 2020)
- Exploit #2164 - mikrotik-beast ( Mass MikroTik WinBox Exploitation tool, CVE-2018-14847 ) (March 18, 2020)
- Exploit #2188 - Python-MikrotikLoginExploit (PoC of CVE-2018-14847 Mikrotik Vulnerability using simple script) (March 18, 2020)