Vulnerability record · CVE-2024-21762 · published 9 February 2024
CVE-2024-21762: Fortinet FortiOS and FortiProxy out-of-bounds write in SSL VPN
Fortinet · Fortiproxy
FortiOS and FortiProxy contain an out-of-bounds write (CWE-787) reachable through specifically crafted requests. The flaw affects a wide range of FortiOS and FortiProxy versions and can lead to unauthorized code or command execution. It is a critical, remotely reachable issue in widely deployed perimeter security appliances.
Description
A out-of-bounds write in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0 through 6.4.14, 6.2.0 through 6.2.15, 6.0.0 through 6.0.17, FortiProxy versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.8, 7.0.0 through 7.0.14, 2.0.0 through 2.0.13, 1.2.0 through 1.2.13, 1.1.0 through 1.1.6, 1.0.0 through 1.0.7 allows attacker to execute unauthorized code or commands via specifically crafted requests
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8, unauthenticated network reachability, CISA KEV listing with known ransomware use, and very high EPSS make this an urgent patch-first issue.
What it is
FortiOS and FortiProxy contain an out-of-bounds write (CWE-787) reachable through specifically crafted requests. The flaw affects a wide range of FortiOS and FortiProxy versions and can lead to unauthorized code or command execution. It is a critical, remotely reachable issue in widely deployed perimeter security appliances.
Impact
An unauthenticated remote attacker can execute unauthorized code or commands on the affected device. Because these are edge appliances, compromise can expose the internal network and enable further lateral movement.
Attack surface
Reachable over the network via crafted requests to the affected FortiOS/FortiProxy service, per the CVSS vector AV:N/AC:L/PR:N/UI:N. No authentication or user interaction is required.
Exploitation
CISA added it to the Known Exploited Vulnerabilities catalog on 2024-02-09 with a due date of 2024-02-16 and flags known ransomware campaign use; EPSS 30-day probability is 0.84285 (99.684th percentile), indicating active exploitation is expected.
What to do
- Apply the Fortinet vendor patches referenced in FG-IR-24-015 for all affected FortiOS and FortiProxy versions.
- If patching cannot be done immediately, follow CISA's required action and Fortinet's guidance, including disabling SSL VPN or applying available mitigations.
- Restrict management and SSL VPN interfaces from untrusted networks where operationally feasible.
- Rotate credentials and inspect for signs of compromise on any device that was exposed before patching.
- Track CISA KEV remediation due dates and confirm all internet-facing instances are updated.
Detection
- Monitor FortiGate/FortiProxy logs for abnormal or malformed requests to SSL VPN endpoints and for unexpected process crashes or restarts.
- Hunt for post-exploitation indicators such as new local accounts, modified SSL VPN configurations, or unexpected outbound connections from the appliance.
- Correlate appliance logs with network telemetry for command-and-control or lateral movement originating from the firewall/VPN device.
- Alert on unauthorized configuration changes or new administrative sessions on FortiOS/FortiProxy devices.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2024-21762 to the Known Exploited Vulnerabilities catalog on 9 February 2024 as "Fortinet FortiOS Out-of-Bound Write Vulnerability". CISA reports known use in ransomware campaigns. Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 16 February 2024.
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://fortiguard.com/psirt/FG-IR-24-015 | Vendor Advisory |
| https://fortiguard.com/psirt/FG-IR-24-015 | Vendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-21762 | US Government Resource |
Track CVE-2024-21762 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-21762), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.