{"schemaVersion":3,"id":"CVE-2018-14847","aliases":[],"status":"published","duplicateOf":null,"title":"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.","dates":{"published":"2018-08-02T07:00:00.000Z","modified":"2025-10-21T23:45:49.372Z","reserved":null,"kevAdded":["2021-12-01T00:00:00.000Z"],"kevDue":["2022-06-01T00:00:00.000Z"]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.4,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.95981,"percentile":0.99876,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.10599999999999499,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.96087},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.95981,"percentile":0.99876}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.96087,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.95981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.95981,"percentile":0.99876}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2021-12-01T00:00:00.000Z","dueDate":"2022-06-01T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"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.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2018-14847","label":"nvd.nist.gov/vuln/detail/CVE-2018-14847"}],"vendor":"MikroTik","product":"RouterOS","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2021-12-01T00:00:00.000Z","dueDate":"2022-06-01T00:00:00.000Z","requiredAction":"Apply updates per vendor instructions.","name":"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.","notes":[{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2018-14847","label":"nvd.nist.gov/vuln/detail/CVE-2018-14847"}],"vendor":"MikroTik","product":"RouterOS","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_BIGNERD95_WINBOXEXPLOIT","name":"Winboxexploit","source":"github","url":"https://github.com/BigNerd95/WinboxExploit","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_TENABLE_ROUTEROS","name":"Routeros","source":"github","url":"https://github.com/tenable/routeros/blob/master/bug_hunting_in_routeros_derbycon_2018.pdf","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"GITHUB_BASUCERT_WINBOXPOC","name":"Winboxpoc","source":"github","url":"https://github.com/BasuCert/WinboxPoC","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_ABCC94BB4DD423A4","name":"Exploit Reference (n0p.me)","source":"reference","url":"https://n0p.me/winbox-bug-dissection/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"45578","name":"MicroTik RouterOS < 6.43rc3 - Remote Root","source":"exploit-database","url":"https://www.exploit-db.com/exploits/45578","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":["hardware"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"remote","platform":"hardware","file":"exploits/hardware/remote/45578.cpp","codes":["CVE-2018-14847"]},"metasploit":null},{"id":"MSF_AUXILIARY_GATHER_MIKROTIK_WINBOX_FILEREAD","name":"Mikrotik Winbox Arbitrary File Read","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/mikrotik_winbox_fileread.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/gather/mikrotik_winbox_fileread","rank":"300","rankName":"normal","postAuth":false,"check":false,"stability":[],"sideEffects":[],"reliability":[]}}],"exploitCount":6,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"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 elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"mikrotik","product":"routeros","name":"RouterOS","label":"routeros","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 6.42","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 6.42","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"routeros","label":"RouterOS","category":"os"}},"hubHref":"/vendor/mikrotik/routeros"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.exploit-db.com/exploits/45578/","label":"www.exploit-db.com/exploits/45578/","hostname":"www.exploit-db.com","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/BigNerd95/WinboxExploit","label":"github.com/BigNerd95/WinboxExploit","hostname":"github.com","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/tenable/routeros/blob/master/bug_hunting_in_routeros_derbycon_2018.pdf","label":"github.com/tenable/routeros/blob/master/bug_hunting_in_routeros_derbycon_2018.pdf","hostname":"github.com","tags":["Broken Link","Exploit","Third Party Advisory"]},{"url":"https://github.com/BasuCert/WinboxPoC","label":"github.com/BasuCert/WinboxPoC","hostname":"github.com","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://github.com/tenable/routeros/tree/master/poc/cve_2018_14847","label":"github.com/tenable/routeros/tree/master/poc/cve_2018_14847","hostname":"github.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://n0p.me/winbox-bug-dissection/","label":"n0p.me/winbox-bug-dissection/","hostname":"n0p.me","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/tenable/routeros/tree/master/poc/bytheway","label":"github.com/tenable/routeros/tree/master/poc/bytheway","hostname":"github.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://mikrotik.com/supportsec/winbox-vulnerability","label":"mikrotik.com/supportsec/winbox-vulnerability","hostname":"mikrotik.com","tags":["Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-14847","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-14847","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-08-02T07:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2021-12-01T00:00:00.000Z","label":"Added to CISA KEV","detail":"MikroTik Router OS Directory Traversal Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2022-06-01T00:00:00.000Z","label":"CISA remediation due","detail":"Apply updates per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2025-10-21T23:45:49.372Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:47:38.963Z","stale":false,"partial":false}}