This security advisory describes one critical risk vulnerability.
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.
Update to version 6.40.8 or 6.42.1.
MikroTik RouterOS: 6.36.4, 6.40, 6.40.1, 6.40.2, 6.40.3, 6.40.4, 6.40.5, 6.40.6, 6.40.7, 6.41, 6.41.1, 6.41.2, 6.41.3, 6.41.4, 6.42CPE
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
How the attacker can exploit this vulnerability?
The attacker would have to send a specially crafted request to the affected device in order to exploit this vulnerability.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.