SB2019103004 - Multiple vulnerabilities in Mokrotik RouterOS
Published: October 30, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 secuirty vulnerabilities.
1) Path traversal (CVE-ID: CVE-2019-3976)
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in the filenames of the packages. A remote attacker can trick the victim into installing an updated with a specially crafted name and enable developer shell.
2) Insufficient verification of data authenticity (CVE-ID: CVE-2019-3977)
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to software does not validate origin of the upgrade packages when using autoupgrade feature. A remote attacker can trick the victim into downloading and installing an old version of RouterOS and reset passwords of all system users.
3) Incorrect permission assignment for critical resource (CVE-ID: CVE-2019-3978)
The vulnerability allows a remote attacker to perform DNS cache poisoning attacks.
The vulnerability exists due to RouterOS allows a remote attacker to initiate DNS queries via port 8291/TCP. A remote attacker can force the router to send DNS requests to an attacker-contorted server and poison router's DNS cache.
4) Input validation error (CVE-ID: CVE-2019-3979)
The vulnerability allows a remote attacker to poison DNS cache.
The vulnerability exists due to insufficient validation of DNS responses, returned by the DNS server. A remote attacker can force the router to make a DNS request to a malicious DNS server and add DNS "A" records for arbitrary domain name to the router's DNS cache. As a result, a remote attacker can force the RouterOS to return incorrect information for DNS requests for arbitrary domain name and redirect all user's traffic to a malicious server.
Remediation
Install update from vendor's website.