Skip to main content
Vulnerability Database/CVE-2024-46669

CVE-2024-46669: Fortinet FortiOS IPsec IKE DoS Vulnerability

CVE-2024-46669 is an integer overflow vulnerability in Fortinet FortiOS IPsec IKE service that allows authenticated attackers to crash IPsec tunnels. This post covers the technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-46669 Overview

CVE-2024-46669 is an Integer Overflow or Wraparound vulnerability [CWE-190] affecting the Fortinet FortiOS IPsec Internet Key Exchange (IKE) service. The flaw impacts FortiOS version 7.4.4 and below, version 7.2.10 and below, and FortiSASE version 23.4.b FortiOS tenants. An authenticated attacker can crash the IPsec tunnel by sending crafted requests, producing a denial of service condition. Fortinet published the advisory as FG-IR-24-267 on January 14, 2025.

Critical Impact

Authenticated attackers can disrupt IPsec tunnels, interrupting site-to-site VPN connectivity and remote access services that depend on affected FortiOS appliances.

Affected Products

  • Fortinet FortiOS 7.4.4 and below
  • Fortinet FortiOS 7.2.10 and below
  • Fortinet FortiSASE version 23.4.b FortiOS tenants

Discovery Timeline

  • 2025-01-14 - CVE-2024-46669 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-46669

Vulnerability Analysis

The vulnerability resides in the IPsec IKE service that negotiates and maintains tunnel security associations on FortiOS. Processing of specific crafted IKE requests triggers an integer overflow condition during request handling. The wraparound corrupts internal state used by the IPsec tunnel subsystem, forcing the tunnel to crash. Loss of the tunnel disconnects any site-to-site VPNs or remote clients relying on that security association.

Exploitation requires valid authentication, which limits the attacker population to credentialed insiders or adversaries who have already compromised a user account. The impact is availability only; confidentiality and integrity of traffic are not affected. Repeated exploitation can produce sustained outages on affected gateways.

Root Cause

The root cause is an arithmetic operation on an untrusted length or counter value that is not validated against the data type's bounds. When the computed value wraps past the maximum representable integer, downstream logic operates on an unexpected value. The resulting inconsistency crashes the IPsec IKE service and tears down the tunnel.

Attack Vector

The attack is executed over the network against the IKE service on an affected FortiOS device. The attacker must hold valid credentials but requires no user interaction. A crafted IKE message sent to the IPsec service triggers the overflow and the subsequent tunnel crash. Refer to the Fortinet Security Advisory FG-IR-24-267 for vendor-provided technical details.

Detection Methods for CVE-2024-46669

Indicators of Compromise

  • Unexpected IPsec tunnel teardowns or repeated phase 1/phase 2 renegotiations on affected FortiGate devices
  • IKE service crash entries or process restart events in FortiOS system logs
  • Spikes in IKE traffic volume from a single authenticated source preceding tunnel loss
  • Loss of connectivity on site-to-site VPNs without a corresponding network or peer failure

Detection Strategies

  • Correlate FortiOS event logs for ipsec or ike daemon crashes with authentication events from the same source
  • Alert on repeated IPsec SA deletions or rekey failures within short time windows
  • Baseline normal IKE message rates per peer and alert on deviations

Monitoring Recommendations

  • Forward FortiOS syslog and SNMP tunnel state traps to a centralized SIEM for correlation
  • Monitor VPN uptime and session counts using Fortinet FortiAnalyzer or an equivalent telemetry pipeline
  • Track administrative and VPN user authentication events for anomalous activity preceding tunnel disruptions

How to Mitigate CVE-2024-46669

Immediate Actions Required

  • Upgrade FortiOS to a fixed release as specified in FG-IR-24-267
  • Audit VPN and administrative accounts and rotate credentials for any suspected compromise
  • Restrict IKE service exposure to known VPN peers using firewall policies where feasible
  • Enable multi-factor authentication for all VPN user accounts to raise the bar for abuse

Patch Information

Fortinet provides fixed builds in versions above FortiOS 7.4.4 and 7.2.10 for the respective branches. FortiSASE tenants on version 23.4.b receive remediation through the managed service. Consult FG-IR-24-267 for the full fixed-version matrix and upgrade path guidance.

Workarounds

  • Limit IKE and IPsec service reachability to trusted peer IP addresses via local-in policies on the FortiGate
  • Disable or decommission unused IPsec tunnel configurations to reduce the attack surface
  • Monitor and rate-limit anomalous IKE traffic patterns at upstream devices where supported
bash
# Example local-in policy restricting IKE (UDP 500/4500) to known peers
config firewall local-in-policy
    edit 10
        set intf "wan1"
        set srcaddr "VPN_Peers"
        set dstaddr "all"
        set service "IKE"
        set action accept
        set schedule "always"
    next
    edit 11
        set intf "wan1"
        set srcaddr "all"
        set dstaddr "all"
        set service "IKE"
        set action deny
        set schedule "always"
    next
end

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.