Skip to content
Noroxi
CVE-2018-14847· NVD / CVE Program· CNA mitre

MikroTik RouterOS through 6.42 allows unauthenticated remote attackers to read arbitrary files and remote authenticated attackers to write a

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.

CriticalCVSS 9.1 · v3.1KEVWeaponized No fix recorded
Published
Aug 2, 2018
Updated
Jun 16, 2026
EPSS
96.1% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

95

Now

Patch today or shut off access.

CVSS
36 / 40 · 9.1 / 10
CISA KEV
30 / 30 · Listed
EPSS
29 / 30 · 96.1%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Dec 1, 2021. That signals real attacks, not theory.

Remediation deadline for government agencies: Jun 1, 2022.

Affected systems

VendorProduct
mikrotikrouteros

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • mikrotik routerosup to 6.42 inclusive

Other highest-scoring records for the same primary product.

  • CVE-2018-7445A buffer overflow was found in the MikroTik RouterOS SMB service when processing NetBIOS session request messages.KEV
    87Now
  • CVE-2026-86060SSH session privilege manipulation via a crafted username in Mikrotik RouterOSKEV
    67This week
  • CVE-2026-67277Kernel memory disclosure and denial of service in MikroTik RouterOS btest serviceKEV
    65This week
  • CVE-2026-67279SSH Pre-Authentication Rekey State Bypass in MikroTik RouterOSKEV
    57Plan
  • CVE-2017-20149The Mikrotik RouterOS web server allows memory corruption in releases before Stable 6.38.5 and Long-term 6.37.5, aka Chimay-Red.
    40Plan
  • CVE-2022-45315Mikrotik RouterOs before stable v7.6 was discovered to contain an out-of-bounds read in the snmp process.
    39Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

No fix version is recorded for this entry. Check the references for vendor advisories.

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Proof-of-concept repository on GitHub ×15

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2018-10-10
Metasploit moduleauxiliary/gather/mikrotik_winbox_filereadMikrotik Winbox Arbitrary File Readauxiliary2018-08-02
Proof-of-concept repository on GitHubstars:5192018-06-24
Proof-of-concept repository on GitHubstars:72018-09-11
Proof-of-concept repository on GitHubstars:152018-10-13
Proof-of-concept repository on GitHubstars:302018-12-15
Proof-of-concept repository on GitHubstars:62019-05-26
Proof-of-concept repository on GitHubstars:12019-09-25
Proof-of-concept repository on GitHubstars:212019-09-29
Proof-of-concept repository on GitHubstars:12020-04-29
Proof-of-concept repository on GitHubstars:552021-04-21
Proof-of-concept repository on GitHubstars:42022-10-31

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-39 d
  2. Metasploitsame day
  3. Published
  4. CISA KEV+1217 d
  5. TodaySep 30, 2026+2981 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

No changes recorded on tracked fields yet. Score, KEV, exploit maturity and fix status changes appear here.

References

Vendor advisories and official records. Exploit/PoC links are deliberately left out.

All records