Rapid7 Vulnerability & Exploit Database

Mikrotik Winbox Arbitrary File Read

Back to Search

Mikrotik Winbox Arbitrary File Read

Disclosed
08/02/2018
Created
11/05/2020

Description

MikroTik RouterOS (bugfix) 6.30.1-6.40.7, (current) 6.29-6.42, (RC) 6.29rc1-6.43rc3 allows unauthenticated remote attackers to read arbitrary files through a directory traversal through the WinBox interface (typically port 8291).

Author(s)

  • mosajjal
  • h00die

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/gather/mikrotik_winbox_fileread
msf auxiliary(mikrotik_winbox_fileread) > show actions
    ...actions...
msf auxiliary(mikrotik_winbox_fileread) > set ACTION < action-name >
msf auxiliary(mikrotik_winbox_fileread) > show options
    ...show and set options...
msf auxiliary(mikrotik_winbox_fileread) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;