module

Rejetto HTTP File Server (HFS) Unauthenticated Remote Code Execution

Disclosed
05/25/2024
Created
06/11/2024

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.

Authors

sfewer-r7Arseniy Sharoglazov

Platform

Windows

Architectures

cmd

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_23692
    msf /(2) > show actions
        ...actions...
    msf /(2) > set ACTION < action-name >
    msf /(2) > show options
        ...show and set options...
    msf /(2) > run
  
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.