Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2014-6287: Null-byte remote code execution in Rejetto HTTP File Server

Published Oct 7, 2014 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS99.3%100th percentile
CISA KEVYesAdded Mar 25, 2022
In the wildActivePer CISA KEV
Vendor
Rejetto
IdentifiersCVE-2014-6287CWE-158

CVE-2014-6287 is a remote code execution vulnerability in Rejetto HTTP File Server (HFS) 2.3x before 2.3c, including versions 2.3, 2.3a, and 2.3b. The findMacroMarker function improperly handles null bytes during search-string parsing. A crafted HTTP search request containing a URL-encoded null byte (%00) followed by an execution macro can cause arbitrary programs to execute on the server host.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Remote attackers can execute arbitrary commands and programs on the affected HFS host. Exploitation has occurred in the wild, including use by BlackSquid to execute a malware loader as part of an infection chain deploying XMRig cryptocurrency miners. The execution privilege level and direct confidentiality or availability impacts are not specified.

Mitigation

If you can’t patch tonight, do this now.

Where immediate patching is not possible, use a credible virtual patch or intrusion-prevention protection specifically covering CVE-2014-6287. Multilayered gateway and endpoint protection can supplement, but not replace, remediation.

Remediation

Patch, then assume compromise.

Upgrade affected HFS installations to version 2.3c or a later release that fixes this vulnerability. Version 2.3c is the historical fix boundary for CVE-2014-6287, not an assurance against other HFS vulnerabilities.

Public exploits

Exploits

9 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 3 not yet analyzed, such as Exploit-DB entries.

View more in app →
rejetto_hfs_exec.rbThis repository contains a single Metasploit module (rejetto_hfs_exec.rb) that exploits a remote command execution vulnerability (CVE-2014-6287) in Rejetto HttpFileServer (HFS) version 2.3b and below on Windows. The exploit abuses a flaw in HFS's scripting command parser, allowing an attacker to inject commands via a specially crafted HTTP GET request using a '%00' filter bypass. The module works by sending a request that saves a malicious VBS script to the target's %TEMP% directory, then executes it. The VBS script downloads and runs a Metasploit-generated payload (EXE) from the attacker's HTTP server. The exploit is fully weaponized, supporting customizable payloads and automatic cleanup. The only file in the repository is a Ruby script structured as a standard Metasploit exploit module, leveraging Metasploit's libraries for HTTP interaction, payload generation, and file dropping. The main attack vector is network-based, targeting the HFS web interface.Disclosed Sep 11, 2014 · Framework: metasploit · ruby · networkWeaponizedRejetto-HTTP-File-Server-HFS-2.3.x---Remote-Command-ExecutionThis repository contains a Python exploit script (hfs-2-3-exploit.py) targeting Rejetto HTTP File Server (HFS) version 2.3.x, specifically exploiting CVE-2014-6287. The exploit works by sending a specially crafted HTTP GET request to the vulnerable HFS server, injecting a base64-encoded PowerShell command that opens a reverse shell back to the attacker's machine. The script prompts the user for local and remote host/port information, verifies the target is running HFS 2.3.x, constructs the exploit payload, and optionally starts a Netcat listener to catch the reverse shell. The payload leverages the Nishang Invoke-PowerShellTcpOneLine.ps1 technique for remote command execution. The repository consists of a single exploit script and a README file with usage instructions. The main attack vector is network-based, exploiting the HTTP interface of HFS. The script is operational and provides a working reverse shell if the target is vulnerable.randallbanner · Disclosed Apr 4, 2023 · python · networkOperationalHFS_StrikeThe repository contains a standalone Python command-line exploit for CVE-2014-6287, not a framework module or detection-only tool. Its four files are hfs_strike.py, README.md, LICENSE.md, and .gitignore. The README describes affected versions and usage; LICENSE.md contains the Apache 2.0 license, and .gitignore excludes Python cache directories. In hfs_strike.py, parse_args accepts a target URL (-t) and command (-c), normalizes the trailing slash, and passes both to exploit. That function URL-encodes the command, embeds it in an HFS exec macro following an encoded null byte in the search parameter, prints the URL, and sends an HTTP GET request. This attempts unauthenticated remote command execution under the server process's security context. Although commands are operator-configurable, the implementation is basic: there is no vulnerability/version check, response-body processing, execution verification, explicit timeout, or integrated shell session. Argument parsing is brittle, and parsing failures occur outside the request exception handler. No hardcoded callback, exfiltration destination, or payload-hosting service is present. Repository URL, revision, and archive size were not supplied; their fields use empty strings and zero as unknown-value placeholders.xyzzklk · Disclosed Jan 16, 2024 · python · network · webOperationalCVE-2014-6287Repository contains a single Python 3 proof-of-concept exploit and a README. The exploit (CVE-2014-6287_ZERO.py) targets Rejetto HttpFileServer (HFS) v2.3.x (CVE-2014-6287) and performs remote command execution by sending an HTTP GET request to the root path with a crafted `search` query parameter. The payload uses a null byte (`%00`) followed by an HFS template/macro injection pattern `{.+exec|<cmd>.}` where `<cmd>` is taken from the command-line and URL-encoded. The script takes three arguments (RHOST, RPORT, COMMAND), prints the fully constructed target URL, and issues the request via `urllib3.PoolManager()`. There is no interactive shell handling or response parsing; it is a straightforward command-execution trigger over the network.Z3R0space · Disclosed Jun 20, 2025 · python · networkOperationalrejetto-http-file-server-2.3.x-RCE-exploit-CVE-2014-6287This repository provides a working exploit for CVE-2014-6287, targeting Rejetto HTTP File Server (HFS) 2.3.x on Windows. The exploit consists of a single Python script (exploit.py) and a README.md with usage instructions. The exploit works by sending specially crafted HTTP requests to the vulnerable HFS server, leveraging a command injection vulnerability. The attack sequence is as follows: (1) a VBS script is delivered to the target to download Netcat (nc.exe) from the attacker's HTTP server, (2) the script is executed to save Netcat to disk, and (3) Netcat is run to establish a reverse shell back to the attacker's listener. The attacker must set up both a netcat listener and an HTTP server hosting nc.exe. The exploit is operational and provides remote command execution on the target if successful. The code is straightforward, with clear separation of payload delivery, execution, and reverse shell triggering. No detection or scanning functionality is present; this is a direct exploitation tool.rahisec · Disclosed Jul 11, 2025 · python · networkOperationalCVE-2014-6287This repository contains a Rust-based exploit for CVE-2014-6287, a critical remote code execution vulnerability in Rejetto HTTP File Server (HFS) versions 2.3x before 2.3c. The exploit is implemented in a single Rust source file (src/main.rs) and leverages the vulnerable macro processing in HFS to inject and execute a PowerShell reverse shell payload. The attacker provides their own IP and port (for the reverse shell to connect back), as well as the target's IP and port. The exploit crafts a malicious HTTP GET request to the HFS server's search endpoint, embedding a base64-encoded PowerShell command that establishes a reverse shell to the attacker's machine. The repository includes standard Rust project files and a README with detailed usage instructions. The exploit is operational, providing a working reverse shell if the target is vulnerable and accessible.nika0x38 · Disclosed Sep 16, 2025 · rust · networkOperationalrejjeto_hfs-rce-exploit-cve-2014-6287This repository contains a Python 3 exploit for CVE-2014-6287, targeting Rejetto HTTP File Server (HFS) v2.3.x on Windows. The exploit leverages a remote command execution vulnerability to upload and execute a VBScript on the target, which downloads nc.exe (netcat) from the attacker's HTTP server. The script then executes nc.exe to establish a reverse shell back to the attacker's listener, granting remote command execution with system privileges. The repository consists of three files: a LICENSE, a README.md with detailed usage instructions, and the main exploit script (exploit.py). The exploit is fully parameterized, requiring the user to specify target and attacker IPs and ports. No hardcoded values are present, and the exploit is operational, providing a working reverse shell if the target is vulnerable and properly configured.JoaZ94 · Disclosed Dec 7, 2025 · python · networkOperationalCVE-2014-6287Repository contains a single Python script (CVE-2014-6287.py) implementing an operational exploit for CVE-2014-6287 (Rejetto HFS macro injection/RCE). The script takes two CLI arguments (TARGET_IP, YOUR_IP), hardcodes the callback port to 4444, builds a PowerShell reverse-shell one-liner, Base64-encodes it as UTF-16LE for PowerShell’s -EncodedCommand, and injects it into the HFS macro syntax using the vulnerable HTTP endpoint: GET /?search=%00{.exec|<command>.}. On success, the target executes the command and connects back to the attacker’s listener, providing an interactive PowerShell prompt over the TCP session.jagg3rsec · Disclosed Jan 25, 2026 · python · networkOperationalTHM-Steel_Mountain-CVE-2014-6287This repository contains a proof-of-concept exploit for CVE-2014-6287, a remote code execution vulnerability in Rejetto HFS (HTTP File Server) version 2.3. The repository consists of a detailed README.md explaining the vulnerability, exploitation steps, and a Python script (rce.py) that automates the attack. The exploit works by sending a specially crafted HTTP GET request to the target's /?search= endpoint, injecting a null byte and an {.exec|...} macro to execute arbitrary commands. The script requires the user to supply a PowerShell Base64-encoded reverse shell payload, which will be executed on the target if the exploit is successful. The attack vector is network-based, targeting the HTTP interface of HFS. The code checks the server version before attempting exploitation and opens a netcat listener for the reverse shell. No hardcoded IPs or domains are present; the user supplies the target URL. The exploit is a functional POC and not weaponized, as it requires manual payload insertion and user interaction.wizardy0ga · Disclosed Dec 2, 2021 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
RejettoHttp File Serverapplication
FAQ

Frequently asked questions

Is CVE-2014-6287 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 25, 2022.
Is there a public exploit for CVE-2014-6287?
Yes. Mallory tracks 9 public exploits or proofs of concept for CVE-2014-6287, the earliest disclosed Sep 11, 2014.
Is there a patch for CVE-2014-6287?
Upgrade affected HFS installations to version 2.3c or a later release that fixes this vulnerability. Version 2.3c is the historical fix boundary for CVE-2014-6287, not an assurance against other HFS vulnerabilities.
What products are affected by CVE-2014-6287?
Rejetto Http File Server.
How severe is CVE-2014-6287?
CVE-2014-6287 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.3% (100th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.