Description
The Rejetto HTTP File Server (HFS) version 2.x is vulnerable to an unauthenticated server side template injection (SSTI) vulnerability. A remote unauthenticated attacker can execute code with the privileges of the user account running the HFS.exe server process. This exploit has been tested to work against version 2.4.0 RC7 and 2.3m. The Rejetto HTTP File Server (HFS) version 2.x is no longer supported by the maintainers and no patch is available. Users are recommended to upgrade to newer supported versions.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/http/rejetto/hfs_rce_cve_2024_23692msf undefined(hfs_rce_cve_2024_23692) > show actions ...actions...msf undefined(hfs_rce_cve_2024_23692) > set ACTION < action-name >msf undefined(hfs_rce_cve_2024_23692) > show options ...show and set options...msf undefined(hfs_rce_cve_2024_23692) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub