Exploited
CWE
119
Advisory Published
Updated

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

First published: Mon 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
MikroTik devices
MikroTik devices<6.41.3
MikroTik devices=6.4.2-rc11
MikroTik devices=6.4.2-rc12
MikroTik devices=6.4.2-rc14
MikroTik devices=6.4.2-rc15
MikroTik devices=6.4.2-rc18
MikroTik devices=6.4.2-rc2
MikroTik devices=6.4.2-rc20
MikroTik devices=6.4.2-rc23
MikroTik devices=6.4.2-rc24
MikroTik devices=6.4.2-rc27
MikroTik devices=6.4.2-rc5
MikroTik devices=6.4.2-rc6
MikroTik devices=6.4.2-rc9
<6.41.3
=6.4.2-rc11
=6.4.2-rc12
=6.4.2-rc14
=6.4.2-rc15
=6.4.2-rc18
=6.4.2-rc2
=6.4.2-rc20
=6.4.2-rc23
=6.4.2-rc24
=6.4.2-rc27
=6.4.2-rc5
=6.4.2-rc6
=6.4.2-rc9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2018-7445?

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

  • How do I fix CVE-2018-7445?

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

  • Who is affected by CVE-2018-7445?

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

  • What type of vulnerability is CVE-2018-7445?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203