Fortinet FortiWeb Buffer overflow in TFTP client library of CLI (FG-IR-21-173)

medium Nessus Plugin ID 209819

Synopsis

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

Description

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-173 advisory.

- A buffer overflow [CWE-121] in the TFTP client library of FortiOS before 6.4.7 and FortiOS 7.0.0 through 7.0.2, may allow an authenticated local attacker to achieve arbitrary code execution via specially crafted command line arguments. (CVE-2021-42757)

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

Solution

Upgrade to FortiWeb version 5.0.999999 / 5.1.999999 / 5.2.999999 / 5.3.999999 / 5.4.999999 / 5.5.999999 / 5.6.999999 / 5.7.999999 / 5.8.999999 / 5.9.999999 / 6.0.999999 / 6.1.999999 / 6.2.999999 / 6.3.17 / 6.4.2 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-21-173

Plugin Details

Severity: Medium

ID: 209819

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

Version: 1.3

Type: local

Family: Firewalls

Published: 10/27/2024

Updated: 10/28/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-42757

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

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

Vulnerability Publication Date: 12/7/2021

Reference Information

CVE: CVE-2021-42757

IAVA: 2021-A-0574-S