MikroTik RouterOS HTTP Server Arbitrary Write RCE (ChimayRed)

Critical Nessus Plugin ID 99763


The remote host is affected by a remote code execution vulnerability.


The MikroTik RouterOS software running on the remote host is affected by a flaw in its HTTP web server process due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, via a specially crafted POST request, to write data to an arbitrary location within the web server process, resulting in a denial of service condition or the execution of arbitrary code.

Note that this vulnerability is reportedly part of the ChimayRed exploit from the Vault 7 leaks.


Upgrade to MikroTik RouterOS version 6.38.5 or later.

See Also


Plugin Details

Severity: Critical

ID: 99763

File Name: mikrotik_http_stack_control.nasl

Version: 1.3

Type: remote

Family: Misc.

Published: 2017/05/01

Modified: 2018/03/13

Dependencies: 30212

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:F/RL:OF/RC:ND


Base Score: 9.8

Temporal Score: 9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

Vulnerability Information

CPE: cpe:/o:mikrotik:routeros

Required KB Items: MikroTik/RouterOS/Version

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 2017/03/09

Vulnerability Publication Date: 2017/03/09

Reference Information

OSVDB: 154042