CVE-2018-7445
Critical · 9.8 CISA KEVCVSS
9.8
EPSS
65.8%
Published
Mar 19, 2018
CISA due date
Sep 29, 2022
Cloudanix analysis
A flaw in certain router software lets remote attackers break in without a password and take full control of the device.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A stack-based buffer overflow in the SMB service when processing NetBIOS session request messages allows unauthenticated remote code execution on all architectures.
Why it matters to the business
Compromise of network infrastructure devices enabling persistent attacker access, data exfiltration, or use as an internal pivot point; CISA KEV listing with 2022-09-29 due date indicates high urgency and known exploitation.
How an attack unfolds
An unauthenticated attacker sends a crafted NetBIOS session request message to the exposed SMB service; the message triggers the buffer overflow before authentication, allowing arbitrary code execution. Threat actor references to MikroTik RouterOS Stack-Based Buffer Overflow Vulnerability indicate active-in-the-wild use.
How to fix it
Upgrade RouterOS to 6.41.3, 6.42rc27, or later fixed releases on all affected devices; restrict SMB exposure via firewall rules until patched.
How to confirm the fix worked
Confirm device RouterOS version is 6.41.3 or newer; perform version checks via Winbox or SSH and re-test SMB service reachability after upgrade.
Typical attack path
- Discover exposed MikroTik devices with SMB service reachable on TCP 139/445
- Send malicious NetBIOS session request packet to trigger the overflow
- Achieve unauthenticated remote code execution and install persistence or move laterally
How to detect it
Review firewall and SMB service logs for unexpected external connections to ports 139/445; search for unusual NetBIOS session request patterns or post-auth anomalies after unauthenticated sessions.
What your security team should do
- Prioritize patching of all RouterOS devices due to KEV status and active exploitation
- Disable or firewall-restrict SMB service where not required
- Monitor network traffic for anomalous NetBIOS session requests to SMB ports
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-76030 Memory corruption in FileSystem in Google Chrome prior to 156.0.8078.79 allowed a remote… CWE-119
- CVE-2026-76026 Memory corruption in Autofill in Google Chrome prior to 156.0.8078.79 allowed a remote… CWE-119
- CVE-2026-76027 Memory corruption in CacheStorage in Google Chrome prior to 156.0.8078.79 allowed a… CWE-119
- CVE-2026-76029 Memory corruption in Network in Google Chrome prior to 156.0.8078.79 allowed a remote… CWE-119
- CVE-2026-76024 Memory corruption in MediaStream in Google Chrome prior to 156.0.8078.79 allowed a remote… CWE-119
- CVE-2026-119264 Memory corruption in Dawn in Google Chrome prior to 156.0.8078.79 allowed a remote… CWE-119
- CVE-2026-119265 Memory corruption in Quota in Google Chrome prior to 156.0.8078.79 allowed a remote… CWE-119
- CVE-2026-119263 Memory corruption in GarbageCollection in Google Chrome prior to 156.0.8078.79 allowed a… CWE-119