Vulnerability record · CVE-2018-14847 · published 2 August 2018
CVE-2018-14847: MikroTik RouterOS WinBox directory traversal allows file read and write
Mikrotik · Routeros
MikroTik RouterOS through 6.42 contains a directory traversal flaw in the WinBox interface. Unauthenticated remote attackers can read arbitrary files, and authenticated attackers can write arbitrary files. Because WinBox is a management interface, this exposes sensitive configuration and credential material on internet-facing routers.
Description
MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated attackers to write arbitrary files due to a directory traversal vulnerability in the WinBox interface.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Automated analysis
critical priorityCVSS 9.1, CISA KEV listing, near-maximum EPSS, and public exploit code make this an actively exploited critical flaw.
What it is
MikroTik RouterOS through 6.42 contains a directory traversal flaw in the WinBox interface. Unauthenticated remote attackers can read arbitrary files, and authenticated attackers can write arbitrary files. Because WinBox is a management interface, this exposes sensitive configuration and credential material on internet-facing routers.
Impact
An unauthenticated attacker can read arbitrary files, including router configuration and stored credentials, enabling full device compromise. An authenticated attacker can write arbitrary files, which can lead to code execution or persistent modification of the device.
Attack surface
Reachable over the network through the WinBox interface (TCP 8291) with no authentication required for the file-read path; the file-write path requires valid credentials. No user interaction is needed per the CVSS vector (AV:N/AC:L/PR:N/UI:N).
Exploitation
CVE-2018-14847 is listed in CISA KEV (added 2021-12-01) and has an EPSS 30-day probability of 0.96087 (99.875th percentile), with multiple public exploit references tagged Exploit. This indicates active, widespread exploitation and readily available exploit code.
What to do
- Upgrade MikroTik RouterOS to a version later than 6.42 per the vendor advisory.
- Disable or restrict the WinBox service on untrusted networks; block TCP 8291 from the internet.
- Restrict management access to a dedicated management VLAN or trusted IP allowlist.
- Rotate credentials and review router configuration for unauthorized changes after exposure.
- Monitor vendor advisories and apply updates promptly for any remaining RouterOS devices.
Detection
- Monitor network traffic to TCP 8291 for unexpected or external connections to WinBox.
- Audit RouterOS logs and configuration for unauthorized file access or modification events.
- Search for known exploit artifacts or indicators associated with public WinBox PoCs.
- Inventory RouterOS devices and verify versions are above 6.42.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2018-14847 to the Known Exploited Vulnerabilities catalog on 1 December 2021 as "MikroTik Router OS Directory Traversal Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 1 June 2022.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2018-14847 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-14847), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.