Identifying FortiGate Firmware From a Single ClientHello

Executive Summary

VulnCheck research has identified approximately 376,000 internet-facing FortiGate hosts exposing the FortiGate-to-FortiManager (FGFM) management port (TCP 541/542). By analyzing the TLS ClientHello these devices send upon connection, researchers can use JA4 fingerprinting to determine the underlying OpenSSL version and correlate it to specific FortiOS firmware generations. This technique reveals that between 6.8% and 36.1% of these hosts are running end-of-life (EOL) software.

The exposure is significant because the FGFM management protocol is a sensitive control-plane channel. Many identified devices are running versions vulnerable to critical flaws, including CVE-2024-23113, a pre-authentication remote code execution (RCE) vulnerability in the FGFM daemon, and CVE-2022-42475, a heap overflow linked to ransomware activity. Exposure of these ports provides attackers with immediate version intelligence and an entry point for exploitation.

Organizations should immediately audit their perimeter to ensure ports 541 and 542 are not reachable from the public internet. Access to the FGFM daemon should be restricted to trusted management networks or specific peer IP addresses only.

Key Details

Threat Name

CVE-2024-23113

Affects

FortiOS 7.0.0 to 7.0.13, FortiOS 7.2.0 to 7.2.6, FortiOS 7.4.0 to 7.4.2, FortiOS 5.4 to 6.0.4, FortiManager, FortiOS, FortiOS Gen 1, FortiOS Gen 2, FortiOS Gen 3

Adversary

—

MITRE Techniques

—

Malware/Tools

None identified

Report Score

9out of 10
Quality Score
Excellent
IOC Quality9
TTP Details8
Detection Guidance10
Enterprise Relevance9
Clarity & Structure10
Technical Depth9

Sources