#VU11142 Stack-based buffer overflow in MikroTik RouterOS - CVE-2018-7445

 

#VU11142 Stack-based buffer overflow in MikroTik RouterOS - CVE-2018-7445

Published: March 16, 2018 / Updated: September 8, 2022


Vulnerability identifier: #VU11142
Vulnerability risk: Medium
CVSSv4.0: 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: CVE-2018-7445
CWE-ID: CWE-121
Exploitation vector: Adjecent network
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
MikroTik RouterOS
Software 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.

Remediation

Update to version 6.40.7 or 6.41.3.

External links