CVEvulnerability
CVE-2018-7445
CISA Known Exploited Vulnerability
MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability — MikroTik RouterOS
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.
- Added to KEV
- 2022-09-08
- Remediation due
- 2022-09-29
- Ransomware use
- Unknown
- Required action
- Apply updates per vendor instructions.
- Notes
- https://www.coresecurity.com/core-labs/advisories/mikrotik-routeros-smb-buffer-overflow#vendor_update, https://mikrotik.com/download; https://nvd.nist.gov/vuln/detail/CVE-2018-7445
- Status
- Analyzed
- Published
- 2018-03-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-119
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.
Affected configurations
• mikrotik routeros (< 6.41.3)
• mikrotik routeros 6.42
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://seclists.org/fulldisclosure/2018/Mar/38 Exploit, Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/103427 Third Party Advisory, VDB Entry
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/44290/ Exploit, Third Party Advisory, VDB Entry
- http://seclists.org/fulldisclosure/2018/Mar/38 Exploit, Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/103427 Third Party Advisory, VDB Entry
- https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/44290/ Exploit, Third Party Advisory, VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-7445 US Government Resource