LiveActive security incident?Get immediate response
CVE Record

CVE-2017-20149: The Mikrotik RouterOS web server allows memory corruption in releases before Stable 6.38.5 and Long-term 6....

The Mikrotik RouterOS web server allows memory corruption in releases before Stable 6.38.5 and Long-term 6.37.5, aka Chimay-Red. A remote and unauthenticated user can trigger the vulnerability by sending a crafted HTTP request. An attacker can use this vulnerability to execute arbitrary code on the affected system, as exploited in the wild in mid-2017 and later.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

This flaw lets an unauthenticated internet user take control of vulnerable MikroTik RouterOS devices through the web server. The business risk is loss of router integrity, traffic interception, outages, and use of network edge devices in botnets. The provided sources describe historical in-the-wild exploitation, but do not prove current active exploitation.

Executive priority

Treat this as urgent for any internet-exposed MikroTik estate. The vulnerability is old but severe, historically exploited, unauthenticated, and affects network-edge control. Prioritize discovery, web-interface exposure reduction, and firmware upgrade verification.

Technical view

CVE-2017-20149 is a RouterOS web server memory corruption issue, also called Chimay-Red. Releases before Stable 6.38.5 and Long-term 6.37.5 are described as vulnerable. It is network reachable, requires no credentials or user interaction, and can allow arbitrary code execution on the affected router.

Likely exposure

Exposure is most likely where MikroTik RouterOS web management is internet reachable and running pre-6.38.5 Stable or pre-6.37.5 Long-term firmware. The bundle does not provide complete CPE data, so asset owners must validate by inventory, firmware channel, version, and management-service exposure.

Exploitation context

The CVE description states exploitation occurred in the wild in mid-2017 and later. A public Chimay-Red repository and reporting about botnet scanning for MikroTik routers increase practical concern. KEV is false in the bundle, so current active exploitation is not established here.

Researcher notes

The source bundle identifies the vulnerability class, affected version thresholds, CVSS 9.8, CWE-787, and historical exploitation. It does not provide authoritative CPEs, a complete vendor advisory, or proof of current active exploitation. Avoid assuming products beyond MikroTik RouterOS web server releases named here.

Mitigation direction

  • Upgrade affected RouterOS devices to 6.38.5 Stable, 6.37.5 Long-term, or later vendor-supported firmware.
  • Remove internet exposure from RouterOS web management interfaces.
  • Restrict management access to trusted administrative networks or VPN paths only.
  • Review MikroTik guidance for any additional hardening or compromise recovery steps.
  • Prioritize replacement or isolation for devices that cannot be safely updated.

Validation and detection

  • Inventory MikroTik RouterOS devices and record firmware channel and version.
  • Confirm whether the web management service is enabled and reachable from untrusted networks.
  • Check edge firewall rules for unintended HTTP management exposure.
  • Review device and network telemetry for suspicious management-plane activity.
  • Validate upgraded devices report fixed or later RouterOS versions.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-20149 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2017-20149Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.