Fortinet Fortigate Heap-based buffer overflow in cw_stad daemon (FG-IR-25-026)

medium Nessus Plugin ID 241567

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-25-026 advisory.

- A heap-based buffer overflow vulnerability [CWE-122] in FortiOS cw_stad daemon may allow an authenticated attacker to execute arbitrary code or commands via specifically crafted requests. (CVE-2025-24477)

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.2.x, upgrade to Fortigate version 7.2.12 or later. For 7.4.x, upgrade to Fortigate version 7.4.8 or later. For 7.6.x, upgrade to Fortigate version 7.6.3 or later.

See Also

https://www.fortiguard.com/psirt/FG-IR-25-026

Plugin Details

Severity: Medium

ID: 241567

File Name: fortigate_FG-IR-25-026.nasl

Version: 1.2

Type: local

Family: Firewalls

Published: 7/8/2025

Updated: 7/11/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2025-24477

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.7

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

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-2025-24477

IAVA: 2025-A-0435