{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2018-14847 in the wild since at least 1 Dec 2021.","fix":"No fix has been published for CVE-2018-14847 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 1 Jun 2022.","what":"CVE-2018-14847 is a critical path traversal vulnerability in Mikrotik Routeros, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-14847 and fix it if it is affected.\n\nWhat it is: CVE-2018-14847 is a critical path traversal vulnerability in Mikrotik Routeros, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2018-14847 in the wild since at least 1 Dec 2021.\n\nAffected product: Mikrotik Routeros. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-14847/ (Markdown: https://insights.sbomify.com/CVE-2018-14847/index.md)","id":"CVE-2018-14847","markdown":"https://insights.sbomify.com/CVE-2018-14847/index.md","name":"CVE-2018-14847","record":{"aliases":["GHSA-j583-4cfp-xf9m"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MikroTik RouterOS","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary files, while authenticated users can write files via directory traversal in the WinBox interface.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"routeros","vendor":"mikrotik"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2018-06-24","github_poc":14,"max_poc_stars":519,"metasploit":1,"nuclei":0,"refs":[{"date":"2018-06-24T05:34:05Z","kind":"github_poc","ref":"https://github.com/BasuCert/WinboxPoC","stars":519,"title":"Proof of Concept of Winbox Critical Vulnerability (CVE-2018-14847)"},{"date":"2021-04-21T16:42:31Z","kind":"github_poc","ref":"https://github.com/hacker30468/Mikrotik-router-hack","stars":54,"title":"This is a proof of concept of the critical WinBox vulnerability (CVE-2018-14847) which allows for arbitrary file read of plain text passwords.  The vulnerability has long since been fixed, so this project has ended and will not be supported or updated anymore. You can fork it and update it yourself instead."},{"date":"2018-12-15T10:38:26Z","kind":"github_poc","ref":"https://github.com/jas502n/CVE-2018-14847","stars":30,"title":"MikroTik RouterOS Winbox未经身份验证的任意文件读/写漏洞"},{"date":"2019-09-29T12:21:16Z","kind":"github_poc","ref":"https://github.com/sinichi449/Python-MikrotikLoginExploit","stars":21,"title":"PoC of CVE-2018-14847 Mikrotik Vulnerability using simple script"},{"date":"2018-10-13T19:17:42Z","kind":"github_poc","ref":"https://github.com/syrex1013/MikroRoot","stars":15,"title":"Automated version of CVE-2018-14847 (MikroTik Exploit)"},{"date":"2018-09-11T19:36:49Z","kind":"github_poc","ref":"https://github.com/msterusky/WinboxExploit","stars":7,"title":"C# implementation of BasuCert/WinboxPoC [Winbox Critical Vulnerability (CVE-2018-14847)]"},{"date":"2019-05-26T12:26:55Z","kind":"github_poc","ref":"https://github.com/mahmoodsabir/mikrotik-beast","stars":6,"title":"  Mass MikroTik WinBox Exploitation tool, CVE-2018-14847                                                  "},{"date":"2022-10-31T06:38:11Z","kind":"github_poc","ref":"https://github.com/babyshen/routeros-CVE-2018-14847-bytheway","stars":4,"title":"By the Way is an exploit that enables a root shell on Mikrotik devices running RouterOS versions:"}],"tier":"exploited"},"has_fix":null,"headline":"MikroTik Router OS Directory Traversal","id":"CVE-2018-14847","indexable":true,"kev":{"dateAdded":"2021-12-01","dueDate":"2022-06-01","knownRansomwareCampaignUse":"Unknown","product":"RouterOS","requiredAction":"Apply updates per vendor instructions.","vendorProject":"MikroTik","vulnerabilityName":"MikroTik Router OS Directory Traversal Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"mikrotik:routeros","products":["mikrotik:routeros"],"type":"path_traversal","year":"2018"},"n_packages":0,"n_references":8,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-14849"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-14846"},"products":["n/a"],"published":"2018-08-02","related":[{"cvss_score":9.8,"headline":"MikroTik RouterOS Stack-Based Buffer Overflow","id":"CVE-2018-7445","kev_date_added":"2022-09-08","published":"2018-03-19"},{"cvss_score":9.2,"headline":"MikroTik RouterOS Improper Neutralization of Argument Delimiters in a Command","id":"CVE-2026-86060","kev_date_added":"2026-09-10","published":"2026-09-05"},{"cvss_score":8.8,"headline":"MikroTik RouterOS Missing Authentication for Critical Function","id":"CVE-2026-67277","kev_date_added":"2026-09-10","published":"2026-09-05"},{"cvss_score":6.9,"headline":"Mikrotik RouterOS Improper Enforcement of Behavioral Workflow","id":"CVE-2026-67279","kev_date_added":"2026-09-25","published":"2026-09-05"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-20149","kev_date_added":null,"published":"2022-10-15"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2022-34960","kev_date_added":null,"published":"2022-08-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["n/a"]},"summary":"Unauthenticated attackers can read arbitrary files, while authenticated users can write files via directory traversal in the WinBox interface.","url":"https://insights.sbomify.com/CVE-2018-14847/"}