MikroTik RouterOS Improper Restriction of Operations within the Bounds of a Memory Buffer (CVE-2018-7445)

critical Tenable OT Security Plugin ID 502060

Synopsis

The remote OT asset is affected by a vulnerability.

Description

A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages. Remote attackers with access to the service can exploit this vulnerability and gain code execution on the system. The overflow occurs before authentication takes place, so it is possible for an unauthenticated remote attacker to exploit it. All architectures and all devices running RouterOS before versions 6.41.3/6.42rc27 are vulnerable.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

http://seclists.org/fulldisclosure/2018/Mar/38

http://www.securityfocus.com/bid/103427

http://www.nessus.org/u?5e50beb7

https://www.exploit-db.com/exploits/44290/

Plugin Details

Severity: Critical

ID: 502060

Version: 1.1

Type: remote

Family: Tenable.ot

Published: 2/27/2024

Updated: 2/27/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2018-7445

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:mikrotik:routeros:6.4.2:rc11, cpe:/o:mikrotik:routeros:6.4.2:rc12, cpe:/o:mikrotik:routeros:6.4.2:rc14, cpe:/o:mikrotik:routeros:6.4.2:rc15, cpe:/o:mikrotik:routeros:6.4.2:rc18, cpe:/o:mikrotik:routeros:6.4.2:rc2, cpe:/o:mikrotik:routeros:6.4.2:rc20, cpe:/o:mikrotik:routeros:6.4.2:rc23, cpe:/o:mikrotik:routeros:6.4.2:rc24, cpe:/o:mikrotik:routeros:6.4.2:rc27, cpe:/o:mikrotik:routeros:6.4.2:rc5, cpe:/o:mikrotik:routeros:6.4.2:rc6, cpe:/o:mikrotik:routeros:6.4.2:rc9, cpe:/o:mikrotik:routeros:6.41.3

Required KB Items: Tenable.ot/MikroTik

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/19/2018

Vulnerability Publication Date: 3/19/2018

CISA Known Exploited Vulnerability Due Dates: 9/29/2022

Reference Information

CVE: CVE-2018-7445

CWE: 119