.. / CVE-2014-6287

Exploit for Rejetto HTTP File Server <2.3c - Remote Command Execution (CVE-2014-6287)

Description:

HTTP File Server before 2.3c is susceptible to remote command execution. The findMacroMarker function in parserLib.pas allows an attacker to execute arbitrary programs via a %00 sequence in a search action. Therefore, an attacker can obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.

Proof of Concept

PoC exploit

Nuclei Template

View the template here CVE-2014-6287.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2014/CVE-2014-6287.yaml
Copy

Try the exploit in a lab environment:

Lab Machine Link
Hack The Box Optimum Go to Practice

References:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-6287
http://packetstormsecurity.com/files/128243/HttpFileServer-2.3.x-Remote-Command-Execution.html
https://github.com/rapid7/metasploit-framework/pull/3793
http://www.kb.cert.org/vuls/id/251276
https://nvd.nist.gov/vuln/detail/CVE-2014-6287