CVE-2024-21758

MEDIUM CVSS 3.1: 6.7 EPSS 0.22%
Updated Jul 24, 2025
Fortinet
Parameter Value
CVSS 6.7 (MEDIUM)
Affected Versions 7.2.0 — 7.4.2
Fixed In 7.2.8
Type CWE-121 (Stack-based Buffer Overflow)
Vendor Fortinet
Public PoC No

A stack-based buffer overflow in Fortinet FortiWeb versions 7.2.0 through 7.2.7, and 7.4.0 through 7.4.1 may allow a privileged user to execute arbitrary code via specially crafted CLI commands, provided the user is able to evade FortiWeb stack protections.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Fortinet Fortiweb
cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
7.2.0 7.2.8
Fortinet Fortiweb
cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
7.4.0 7.4.2