Vulnerability record

CVE-2018-7445

MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run RouterOS, fix it now.

CISA required action: Apply updates per vendor instructions.

US federal civilian agencies must remediate by Sep 29, 2022.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
RouterOSMikroTik< 6.41.3; 6.426.41.3KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2018-7445 scored CVSS 9.8: MikroTik RouterOS, MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability

    CISA lists this as exploited in the wild. Unpatched RouterOS systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • coresecurity.com https://www.coresecurity.com/core-labs/advisories/mikrotik-routeros-smb-buffer-overflow#vendor_update
  • mikrotik.com https://mikrotik.com/download
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-7445
  • seclists.org http://seclists.org/fulldisclosure/2018/Mar/38
  • securityfocus.com http://www.securityfocus.com/bid/103427
  • coresecurity.com https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow
  • exploit-db.com https://www.exploit-db.com/exploits/44290/
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7445