Fortinet FortiOS Web Interface Cookie Parser RCE (EGREGIOUSBLUNDER)

Critical Nessus Plugin ID 93196


A web-based management console running on the remote host is affected by a remote code execution vulnerability.


The Fortinet FortiOS management console running on the remote host is affected by a remote code execution vulnerability, known as EGREGIOUSBLUNDER, in its web interface due to improper validation when parsing cookies. An unauthenticated, remote attacker can exploit this, via a specially crafted HTTP request, to cause a buffer overflow condition, resulting in a denial of service condition or the execution of arbitrary code.

EGREGIOUSBLUNDER is one of multiple Equation Group vulnerabilities and exploits disclosed on 2016/08/14 by a group known as the Shadow Brokers.

Note that this plugin attempts to kill the httpsd process, which appears to restart after termination. Additionally, this plugin requires report paranoia as it relies on a missing server response to indicate a vulnerable status, which may or may not be reliable.


Upgrade to Fortinet FortiOS 4.1.11 / 4.2.13 / 4.3.9 / 5.0 or later.

See Also

Plugin Details

Severity: Critical

ID: 93196

File Name: fortios_cookie_parsing_bof.nasl

Version: 1.7

Type: remote

Family: CGI abuses

Published: 2016/08/29

Updated: 2018/11/15

Dependencies: 17367

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Critical

CVSS v2.0

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

CVSS v3.0

Base Score: 9.8

Temporal Score: 9.1

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:fortinet:fortios

Required KB Items: www/fortios_ui, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2016/08/17

Vulnerability Publication Date: 2016/08/14

Reference Information

CVE: CVE-2016-6909

BID: 92523

EDB-ID: 40276