Unauthenticated RCE in Rejetto HFS Exposes Unsupported 2.x Servers
Vulnerability Disclosure · 3 sources · Updated 2mo ago · First seen Jun 6, 2024

A critical server-side template injection vulnerability in Rejetto HTTP File Server (HFS), CVE-2024-23692, allows unauthenticated attackers to execute operating system commands with the privileges of the HFS process. Crafted HTTP search requests can bypass template escaping and invoke HFS macros. A technical analysis initially identified versions through 2.3m as affected and subsequently reported successful exploitation against both 2.3m and 2.4.0 RC7.
Public exploitation resources include a Python proof of concept, a Metasploit module, and a Nuclei template, lowering the barrier to exploitation of exposed servers. The supplied analysis demonstrates laboratory exploitation rather than an in-the-wild campaign. HFS 2.x is unsupported and has no available patches; organizations should identify affected deployments, restrict external access, and migrate to HFS 3.x rather than wait for a 2.x fix.
Why it matters
CVE-2024-23692 exposes organizations running vulnerable Rejetto HTTP File Server (HFS) 2.x deployments to unauthenticated server compromise, data theft, and malware deployment. Commands execute with the HFS process account’s privileges, making exposure especially severe on internet-facing servers running with elevated rights. The supplied reporting demonstrates laboratory exploitation, not an in-the-wild campaign; it does not establish current exploitation activity as of October 2026.
- Affected population: Users and organizations relying on HFS for HTTP-based file sharing; no specific industry targeting is identified.
- Operational consequences: Attackers can compromise the host and access files available to the service account. Subsequent malware deployment could disrupt file-sharing operations.
- Exposure scope: The June 2024 analysis estimated approximately 1,000 HFS servers using FOFA, but acknowledged uncertainty. This is neither a verified vulnerable-server count nor a current exposure estimate.
- Lifecycle risk: HFS 2.x is unsupported and has no available patches. Public exploitation tooling lowers the barrier to attacking remaining deployments.


