Vulnerability identifier: #VU11142
Vulnerability risk: Medium
CVSSv4.0: 8.6 [CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Green]
CVE-ID:
CWE-ID:
CWE-121
Exploitation vector: Local network
Exploit availability: No
Vulnerable software:
MikroTik RouterOS
Hardware solutions /
Routers & switches, VoIP, GSM, etc
Vendor: MikroTik
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a stack-based buffer overflow when processing NetBIOS session request messages. A remote unauthenticated attacker can send a specially crafted NetBIOS session request message with malformed NetBIOS names, trigger stack-based buffer overflow and cause denial of service conditions or execute arbitrary code on the target system.
Successful exploitation of the vulnerability may allow an attacker to gain full access to the affected router but requires that SMB service is running.
Mitigation
Update to version 6.40.7 or 6.41.3.
Vulnerable software versions
MikroTik RouterOS: 6.40 - 6.40.6, 6.41 - 6.41.2
External links
https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the local network (LAN).
Is there known malware, which exploits this vulnerability?
Yes. This vulnerability is being exploited in the wild.