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.5

Type: remote

Family: Misc.

Published: 2017/05/01

Updated: 2018/08/08

Dependencies: 30212

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

Temporal Score: 7.4

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

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:mikrotik:routeros

Required KB Items: MikroTik/RouterOS/Version

Exploited by Nessus: true

Patch Publication Date: 2017/03/09

Vulnerability Publication Date: 2017/03/09