CVE-2025-59718 Elastic Security · Elastic

Detect Fortinet Multiple Products Improper Verification of Cryptographic Signature (CVE-2025-59718) in Elastic Security

Detects exploitation of CVE-2025-59718, an improper verification of cryptographic signature vulnerability (CWE-347) affecting multiple Fortinet products. This vulnerability, listed in CISA's Known Exploited Vulnerabilities catalog, allows attackers to bypass signature validation checks, potentially enabling unsigned firmware/software installation, man-in-the-middle attacks on update channels, or code execution with elevated privileges on affected Fortinet appliances.

MITRE ATT&CK

Tactic
Initial Access Persistence Defense Evasion

Elastic Detection Query

Elastic Security (Elastic)
eql
sequence by host.name with maxspan=10m
  [any where event.dataset == "fortinet.firewall"
    and (
      message like~ "*signature*fail*"
      or message like~ "*unsigned*firmware*"
      or message like~ "*cert*verif*fail*"
      or message like~ "*bypass*sig*"
    )
  ] by host.name
  [any where event.dataset == "fortinet.firewall"
    and (
      event.action in ("upgrade", "firmware-install", "update")
      or fortinet.firewall.subtype in ("update", "upgrade")
    )
  ] by host.name
critical severity medium confidence

Correlates Fortinet signature verification failures with subsequent firmware update or installation events within a 10-minute window, which may indicate exploitation of CVE-2025-59718.

Data Sources

Elastic Agent - Fortinet IntegrationFilebeat Fortinet Module

Required Tables

logs-fortinet.firewall-*filebeat-*

False Positives & Tuning

  • Legitimate firmware upgrades immediately following routine certificate expiry warnings
  • Automated update processes that log signature validation steps verbosely
  • Security scanning tools that simulate update requests against Fortinet management interfaces

Other platforms for CVE-2025-59718


Testing Methodology

Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate Fortinet Firmware Signature Bypass via Invalid Update Request

    Expected signal: HTTP 400 or 403 response from Fortinet API with error body referencing signature validation failure; corresponding event in Fortinet system logs with type=event subtype=update level=alert

  2. Test 2Fortinet Management Interface Signature-Related Error Log Injection Test

    Expected signal: Three syslog events appearing in SIEM with Fortinet device name, event type 'update' or 'system', and messages containing 'signature verification failed', 'cert verification failed', and 'unsigned firmware'

  3. Test 3Network-Level Simulation of Fortinet Update Channel Interception

    Expected signal: Network flow logs showing Fortinet appliance connecting to update server via proxy; Fortinet logs showing certificate validation errors or signature failures when intercepted responses are presented

Unlock Pro Content

Get the full detection package for CVE-2025-59718 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections