Fortinet FortiWeb - Stack-based Buffer Overflow in command line interpreter (FG-IR-21-234)

high Nessus Plugin ID 197620


Fortinet Firewall is missing one or more security-related updates.


The version of FortiWeb installed on the remote host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the FG-IR-21-234 advisory.

- A stack-based buffer overflow in Fortinet FortiWeb 6.4 all versions, FortiWeb versions 6.3.17 and earlier, FortiWeb versions 6.2.6 and earlier, FortiWeb versions 6.1.2 and earlier, FortiWeb versions 6.0.7 and earlier, FortiWeb versions 5.9.1 and earlier, FortiWeb 5.8 all versions, FortiWeb 5.7 all versions, FortiWeb 5.6 all versions allows attacker to execute unauthorized code or commands via specially crafted command arguments. (CVE-2023-25602)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.


Upgrade to FortiWeb version 5.9.2 / 6.0.8 / 6.1.3 / 6.2.7 / 6.3.18 / 7.0.0 or later.

See Also

Plugin Details

Severity: High

ID: 197620

File Name: fortiweb_FG-IR-21-234.nasl

Version: 1.0

Type: local

Family: Firewalls

Published: 5/22/2024

Updated: 5/22/2024

Supported Sensors: Nessus

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2023-25602


Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/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:/a:fortinet:fortiweb

Required KB Items: Host/Fortigate/model, Host/Fortigate/version

Exploit Ease: No known exploits are available

Patch Publication Date: 2/16/2023

Vulnerability Publication Date: 2/16/2023

Reference Information

CVE: CVE-2023-25602