Fortinet Fortigate Insertion of Sensitive 2FA Information in logs and debug command (FG-IR-24-452)

low Nessus Plugin ID 270400

Synopsis

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

Description

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

- An Insertion of Sensitive Information into Log File vulnerability [CWE-532] in FortiOS may allow an attacker with at least read-only privileges to retrieve sensitive 2FA-related information via observing logs or via diagnose command. (CVE-2025-31514)

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

Solution

For 6.4.x / 7.0.x / 7.2.x / 7.4.x, see vendor advisory. For 7.6.x, upgrade to Fortigate version 7.6.4 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-24-452

Plugin Details

Severity: Low

ID: 270400

File Name: fortigate_FG-IR-24-452.nasl

Version: 1.2

Type: local

Family: Firewalls

Published: 10/14/2025

Updated: 10/17/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 3.3

Temporal Score: 2.4

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

CVSS Score Source: CVE-2025-31514

CVSS v3

Risk Factor: Low

Base Score: 2.7

Temporal Score: 2.4

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fortinet:fortios

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

Exploit Ease: No known exploits are available

Patch Publication Date: 10/14/2025

Vulnerability Publication Date: 10/14/2025

Reference Information

CVE: CVE-2025-31514

IAVA: 2025-A-0770