CVE-2018-7445
MikroTik RouterOS Stack-Based Buffer Overflow Vuln - [Actively Exploited]
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.
INFO
Published Date :
March 19, 2018, 9:29 p.m.
Last Modified :
April 3, 2025, 7:54 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
CISA KEV (Known Exploited Vulnerabilities)
For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
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.
Apply updates per vendor instructions.
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
Public PoC/Exploit Available at Github
CVE-2018-7445 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-7445
.
URL | Resource |
---|---|
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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
RouterOS Security Inspector
mikrotik netsec python routeros network-security blueteam defensive cve-scanning forensics hardening
Python
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
cisa-kev vulnerability 0day cisa exploits
Mikrotik SMB buffer overflow exploit
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-7445
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-7445
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Apr. 03, 2025
Action Type Old Value New Value -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Feb. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-119 -
Modified Analysis by [email protected]
Jan. 27, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2018/Mar/38 Added Reference http://www.securityfocus.com/bid/103427 Added Reference https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow Added Reference https://www.exploit-db.com/exploits/44290/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Apr. 24, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow No Types Assigned https://www.coresecurity.com/advisories/mikrotik-routeros-smb-buffer-overflow Exploit, Third Party Advisory Changed Reference Type http://seclists.org/fulldisclosure/2018/Mar/38 No Types Assigned http://seclists.org/fulldisclosure/2018/Mar/38 Exploit, Mailing List, Third Party Advisory, VDB Entry Changed Reference Type http://www.securityfocus.com/bid/103427 No Types Assigned http://www.securityfocus.com/bid/103427 Third Party Advisory, VDB Entry Changed Reference Type https://www.exploit-db.com/exploits/44290/ No Types Assigned https://www.exploit-db.com/exploits/44290/ Exploit, Third Party Advisory, VDB Entry Added CWE CWE-119 Added CPE Configuration OR *cpe:2.3:o:mikrotik:routeros:*:*:*:*:*:*:*:* versions up to (excluding) 6.41.3 Added CPE Configuration OR *cpe:2.3:o:mikrotik:routeros:6.4.2:rc11:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc12:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc14:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc15:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc18:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc2:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc20:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc23:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc24:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc27:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc5:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc6:*:*:*:*:*:* *cpe:2.3:o:mikrotik:routeros:6.4.2:rc9:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 21, 2018
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/44290/ [No Types Assigned] Added Reference http://www.securityfocus.com/bid/103427 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-7445
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-7445
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
86.03 }} -1.64%
score
0.99348
percentile