Vulnerability identifier: #VU11315
Vulnerability risk: Critical
CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-121
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 execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the HTTP server component. A remote attacker can send a specially crafted HTTP POST request to the affected device and trigger stack-based buffer overflow.
Successful exploitation of the vulnerability may allow an attacker to execute arbitrary code on the target system.
Note: this vulnerability was disclosed in the "Vault 7" leak by Wikileaks project. The codename of the exploit affecting Mikrotik RouterOS is ChimayRed.
Mitigation
Update to version 6.38.5.
Vulnerable software versions
MikroTik RouterOS: 6.38 - 6.38.4, 6.37 - 6.37.5, 6.36 - 6.36.4, 6.34 - 6.34.6, 6.33 - 6.33.6, 6.32.1 - 6.32.4, 6.30 - 6.30.4, 6.29 - 6.29.1, 6.21.1
External links
http://www.wizzycom.net/mikrotik-http-server-vulnerability/
http://wikileaks.org/ciav7p1/cms/page_16384604.html
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, a fully functional exploit for this vulnerability is available.