HttpFileServer (HFS)

Basics

  • Webserver designed for publishing and sharing files

  • Developed by Rejetto

http://10.x.x.x .. Port 80 HttpFileServer (HFS 2.3)

Password Guessing

admin:admin 
admin:password 
root:password 
root:root 
admin:fileserver

HFS 2.3 Remote Command Execution (RCE)

  • Vulnerable to remote code execution attacks

  • Due to a poor regex in the file ParserLib.pas

  • Execute arbitrary programs using %00 (null byte) sequence in a search action.

  • Which terminates the regular expression but not the entire string.

  • HFS has settings to secure against searching with { } . |

Explore HFS

Easy Exploit (no msf)

Rejetto v2.3 RCE - Metasploit

  • rejetto_hfs_exec

  • CVE-2014-6287

Meterpreter 64

  • Session is 32 bit, but Server is 64

  • Set a new Payload

Last updated

Was this helpful?