#VU22424 Path traversal in MikroTik RouterOS


Published: 2019-10-30

Vulnerability identifier: #VU22424

Vulnerability risk: Medium

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2019-3976

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
MikroTik RouterOS
Hardware solutions / Routers & switches, VoIP, GSM, etc

Vendor: MikroTik

Description

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.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

MikroTik RouterOS: 6.45.1 - 6.45.6, 6.44.1 - 6.44.5, 6.43.1 - 6.43.16, 6.42.1 - 6.42.12, 6.41.1 - 6.41.4


External links
http://mikrotik.com/download/changelogs#6.45.7
http://www.tenable.com/security/research/tra-2019-46
http://github.com/tenable/routeros/tree/master/option_npk/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability