Fortinet FortiWeb Privilege escalation in GUI websocket module (FG-IR-25-006)

medium Nessus Plugin ID 238101

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

- An Improper Privilege Management vulnerability [CWE-269] affecting Fortinet FortiOS version 7.6.0 through 7.6.1, 7.4.0 through 7.4.6, 7.2.0 through 7.2.10, 7.0.0 through 7.0.16 and before 6.4.15, FortiProxy version 7.6.0 through 7.6.1 and before 7.4.7 & FortiWeb version 7.6.0 through 7.6.1 and before 7.4.6 allows an authenticated attacker with at least read-only admin permissions to gain super-admin privileges via crafted requests to Node.js websocket module. (CVE-2025-22254)

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.4.x, upgrade to FortiWeb version 7.4.7 or later. For 7.6.x, upgrade to FortiWeb version 7.6.2 or later.

See Also

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

Plugin Details

Severity: Medium

ID: 238101

File Name: fortiweb_FG-IR-25-006.nasl

Version: 1.4

Type: local

Family: Firewalls

Published: 6/10/2025

Updated: 7/8/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

CVSS Score Source: CVE-2025-22254

CVSS v3

Risk Factor: Medium

Base Score: 6.6

Temporal Score: 5.8

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

Patch Publication Date: 6/10/2025

Vulnerability Publication Date: 6/10/2025

Reference Information

CVE: CVE-2025-22254

IAVA: 2025-A-0435