CVE-2024-21762: Unauthenticated Remote Code Execution in FortiOS and FortiProxy SSL VPN
- Vendor
- Fortinet
CVE-2024-21762 is an out-of-bounds write vulnerability in the SSL VPN daemon (sslvpnd) of Fortinet FortiOS and FortiProxy. A remote unauthenticated attacker can trigger memory corruption through specially crafted HTTP requests and execute arbitrary code or commands on an affected appliance. Affected releases include FortiOS 7.4.0–7.4.2, 7.2.0–7.2.6, 7.0.0–7.0.13, 6.4.0–6.4.14, 6.2.0–6.2.15, and all 6.0 releases; and FortiProxy 7.4.0–7.4.2, 7.2.0–7.2.8, 7.0.0–7.0.14, 2.0.0–2.0.13, and all 1.0, 1.1, and 1.2 releases. Disclosed in February 2024, the vulnerability has been exploited in the wild and is included in CISA's Known Exploited Vulnerabilities catalog.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code or command execution without authentication, compromising the affected appliance's confidentiality, integrity, and availability. Appliance compromise can enable access to sensitive configurations, credentials, and key material, interception or modification of VPN traffic, and attacks against reachable internal systems. Attackers have used this vulnerability among several initial-compromise vectors before installing symbolic-link-based persistence that allowed continued read-only access to device files after patching. Such persistence is a post-exploitation outcome, not the underlying vulnerability.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrading is not possible, disable SSL VPN entirely. Disabling only SSL VPN web mode is explicitly insufficient. Fortinet also lists the virtual patch HTTP.Chunk.Length.Invalid. in FMWP database update 24.020 as available protection; this does not replace firmware remediation or investigation of prior compromise.
Remediation
Patch, then assume compromise.
Upgrade to a fixed release or a later supported release using Fortinet's recommended upgrade path. Minimum fixed FortiOS versions by branch are 7.4.3, 7.2.7, 7.0.14, 6.4.15, and 6.2.16. Minimum fixed FortiProxy versions by branch are 7.4.3, 7.2.9, 7.0.15, and 2.0.14. FortiOS 6.0 and FortiProxy 1.0, 1.1, and 1.2 require migration to a fixed release. These minimum versions address this CVE but do not establish protection against subsequently disclosed vulnerabilities. For suspected or confirmed compromise, isolate the appliance, preserve evidence, investigate persistence and lateral movement, validate configuration integrity, and rotate potentially exposed credentials, certificates, and other secrets. Patching alone does not invalidate stolen secrets or necessarily eliminate previously established persistence.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 6 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2024-21762 exploited in the wild?
- Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 9, 2024.
- Is there a public exploit for CVE-2024-21762?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2024-21762, the earliest disclosed Mar 13, 2024.
- Is there a patch for CVE-2024-21762?
- Upgrade to a fixed release or a later supported release using Fortinet's recommended upgrade path. Minimum fixed FortiOS versions by branch are 7.4.3, 7.2.7, 7.0.14, 6.4.15, and 6.2.16.
- What products are affected by CVE-2024-21762?
- Fortinet Fortios and Fortinet Fortiproxy.
- How severe is CVE-2024-21762?
- CVE-2024-21762 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 10.2% (96th percentile) as of Nov 26, 2026.
Recent activity
116 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.