Possible FortiGate RCE via Chunked hostcheck_validate Request (CVE-2024-21762)

PremiumReviewedSigma · High · v1
Category
webserver
Author
HuntRule
Published
2026-05-25
Updated
2026-08-28

ATT&CK techniques

Initial Access
  1. Recon

  2. Resource Dev

  3. Execution

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects POST requests to the FortiGate SSL VPN hostcheck_validate endpoint using Transfer-Encoding chunked, matching the out-of-bounds write exploited in CVE-2024-21762 as analyzed by Assetnote. The exploit relies on a malformed chunked body with a zero-length terminator and excess trailer lines to corrupt memory and reach code execution. Detecting chunked requests to this specific endpoint surfaces attempts against the vulnerable parser.

Related detections9 linkedT1190 — drag to rearrange
Malicious Command Shell Spawned by SQL Server via Process Creation (via process_creation)
Malicious Command Shell or PowerShell Spawned by Tomcat via Process Creation (via process_creation)
Suspicious Shell Script Execution From Temp Directory on SonicWall SMA1000 Appliance (via process_creation)
Possible TP-Link Command Injection via WlanNetworkRpm Endpoint (via webserver)
Malicious SharePoint ToolPane Exploitation via SignOut Referer
Suspicious Tomcat Session Deserialization Trigger via Crafted JSESSIONID
Malicious Tomcat Partial PUT of Session File via Content-Range Header
Malicious Ivanti Connect Secure Path Traversal Exploitation of CVE-2024-21887
Malicious MOVEit moveitisapi Exploitation Request via webserver
Possible FortiGate RCE via Chunked hostcheck_validate Request (CVE-2024-21762)
Pivot detection · T1190 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.