vendor:
HttpFileServer
by:
Daniele Linguaglossa
9,8
CVSS
CRITICAL
Remote Code Injection
78
CWE
Product Name: HttpFileServer
Affected Version From: 2.3.x
Affected Version To: 2.3.x
Patch Exists: Yes
Related CWE: CVE-2014-6287
CPE: 2.3.x
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Windows Server 2008, Windows 8, Windows 7
2014
HttpFileServer 2.3.x Remote Command Execution
The vulnerability exists due to a poor regex in the file ParserLib.pas. It will not handle null byte so a request to http://localhost:80/?search=%00{.exec|cmd.} will stop regex from parse macro, and macro will be executed and remote code injection happen.
Mitigation:
Update to the latest version of HttpFileServer