CVE-2018-14847
MikroTik Router OS Directory Traversal Vulnerability
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.
Description as published by the source, in English.
Key facts
- Published
- 2018-08-02
- Last modified
- 2026-06-17
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
96.1 %
among the highest of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities catalogue on 2021-12-01, with a remediation deadline of 2022-06-01 for US federal agencies.
Required action: Apply updates per vendor instructions.
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Mikrotik | Routeros | ≤ 6.42 | Affected |
Weakness type
-
CWE-22: Improper Limitation of a Pathname to a Restricted Directory
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special ele…
References
- https://github.com/BasuCert/WinboxPoC
- https://github.com/BigNerd95/WinboxExploit
- https://github.com/tenable/routeros/blob/master/bug_hunting_in_routeros_derbycon_2018.pdf
- https://github.com/tenable/routeros/tree/master/poc/bytheway
- https://github.com/tenable/routeros/tree/master/poc/cve_2018_14847
- https://mikrotik.com/supportsec/winbox-vulnerability
- https://n0p.me/winbox-bug-dissection/
- https://www.exploit-db.com/exploits/45578/
- https://github.com/BasuCert/WinboxPoC
- https://github.com/BigNerd95/WinboxExploit
- https://github.com/tenable/routeros/blob/master/bug_hunting_in_routeros_derbycon_2018.pdf
- https://github.com/tenable/routeros/tree/master/poc/bytheway
- https://github.com/tenable/routeros/tree/master/poc/cve_2018_14847
- https://n0p.me/winbox-bug-dissection/
- https://www.exploit-db.com/exploits/45578/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-14847
Related at Berigo
Articles
-
Two SSH flaws hand attackers full control of MikroTik routers
Same product
2026-09-26
CERT Polska has disclosed six vulnerabilities in MikroTik RouterOS and confirms that a chain of two SSH flaws, dubbed MikroTrick, is used in attacks …
-
CISA issues seven new ICS advisories, critical flaw in Siemens building automation
Same product
2026-07-28
Seven new advisories cover Siemens, MikroTik, igloohome and ABB. The most severe is a 9.8-rated vulnerability in the Desigo CC building automation pl…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.