Fortinet Fortigate PKI via API: Authentication granted with an invalid certificate (FG-IR-24-511)

high Nessus Plugin ID 241530

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

- A missing critical step in authentication vulnerability [CWE-304] in Fortinet FortiOS version 7.6.0 through 7.6.1, 7.4.0 through 7.4.5, 7.2.0 through 7.2.10, and before 7.0.16 & FortiProxy version 7.6.0 through 7.6.1, 7.4.0 through 7.4.8, 7.2.0 through 7.2.13 and before 7.0.20 allows an API-user using api- key + PKI user certificate authentication to login even if the certificate is invalid. (CVE-2024-52965)

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

Solution

For 7.0.x, upgrade to Fortigate version 7.0.17 or later. For 7.2.x, upgrade to Fortigate version 7.2.11 or later. For 7.4.x, upgrade to Fortigate version 7.4.6 or later. For 7.6.x, upgrade to Fortigate version 7.6.3 or later.

See Also

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

Plugin Details

Severity: High

ID: 241530

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

Version: 1.2

Type: local

Family: Firewalls

Published: 7/8/2025

Updated: 7/10/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

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

CVSS Score Source: CVE-2024-52965

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

Vector: CVSS:3.0/AV:N/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:/o:fortinet:fortios

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

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2025

Vulnerability Publication Date: 7/8/2025

Reference Information

CVE: CVE-2024-52965

IAVA: 2025-A-0435