CVE-2017-20149
CWE-787Published: October 15, 2022· Updated: Jun 17, 2026
Official Description
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.
Risk Analysis
Mikrotik RouterOS is vulnerable to memory corruption in its web server, allowing unauthenticated remote attackers to execute arbitrary code. This critical flaw was historically exploited in the wild.
While there is no current public exploit status provided, the vulnerability has a history of active exploitation. It is remotely exploitable with low attack complexity.
Upgrade RouterOS to Stable 6.38.5, Long-term 6.37.5, or newer versions. Disable the web management interface if it is not required for administrative tasks.
Technical Analysis
CVE-2017-20149 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-787)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2017-20149 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts