CVE-2018-7445: MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability

Published Mar 19, 2018
·
Updated

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.

Other sources

In MikroTik RouterOS, a stack-based buffer overflow occurs when processing NetBIOS session request messages. Remote attackers with access to the service can exploit this vulnerability and gain code execution on the system.

CISA

Affected Software

27 affected components
Mikrotik RouterOS
Mikrotik RouterOS<6.41.3
Mikrotik RouterOS=6.4.2-rc11
Mikrotik RouterOS=6.4.2-rc12
Mikrotik RouterOS=6.4.2-rc14
Mikrotik RouterOS=6.4.2-rc15
Mikrotik RouterOS=6.4.2-rc18
Mikrotik RouterOS=6.4.2-rc2
Mikrotik RouterOS=6.4.2-rc20
Mikrotik RouterOS=6.4.2-rc23
Mikrotik RouterOS=6.4.2-rc24
Mikrotik RouterOS=6.4.2-rc27
Mikrotik RouterOS=6.4.2-rc5
Mikrotik RouterOS=6.4.2-rc6
Mikrotik RouterOS=6.4.2-rc9
Mikrotik RouterOS=6.42-rc11
Mikrotik RouterOS=6.42-rc12
Mikrotik RouterOS=6.42-rc14
Mikrotik RouterOS=6.42-rc15
Mikrotik RouterOS=6.42-rc18
Mikrotik RouterOS=6.42-rc2
Mikrotik RouterOS=6.42-rc20
Mikrotik RouterOS=6.42-rc23
Mikrotik RouterOS=6.42-rc24
Mikrotik RouterOS=6.42-rc5
Mikrotik RouterOS=6.42-rc6
Mikrotik RouterOS=6.42-rc9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MikroTik RouterOS to a version that resolves this vulnerability.

    Fixed in 6.41.3/6.42rc27
  2. Compensating control

    Restrict network access to the RouterOS SMB service so remote attackers cannot reach it before authentication (e.g., limit exposure at the network/firewall level).

Event History

Mar 19, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:29 PM
DescriptionSeverityWeaknessAffected Software
Sep 8, 2022
Known Exploited
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-7445?

CVE-2018-7445 is rated as critical due to the potential for remote code execution.

2

How do I fix CVE-2018-7445?

To fix CVE-2018-7445, upgrade MikroTik RouterOS to version 6.41.4 or newer.

3

Who is affected by CVE-2018-7445?

CVE-2018-7445 affects MikroTik RouterOS versions up to and including 6.41.3.

4

What type of vulnerability is CVE-2018-7445?

CVE-2018-7445 is a buffer overflow vulnerability in the SMB service of MikroTik RouterOS.

5

Can attackers exploit CVE-2018-7445 without authentication?

Yes, attackers can exploit CVE-2018-7445 before authentication occurs, allowing for immediate code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203