Rejetto HTTP File Server (HFS) Remote Code Execution Vulnerability (CVE-2014-6287)
Published In CISA KEV since Sources: CVE.org
What is affected, what to do
The findMacroMarker function in parserLib.pas in Rejetto HTTP File Server (aks HFS or HttpFileServer) 2.3x before 2.3c allows remote attackers to execute arbitrary programs via a %00 sequence in a search action.
The vulnerability is being actively exploited; treat it as a priority. Update Rejetto Http File Server to version 2.3c. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- Rejetto Http File Server
lt 2.3..2.3c
- Rejetto Http File Server
- Fixed in
- Rejetto Http File Server
2.3c
- Rejetto Http File Server
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.8
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: CVE.org
99.32 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.94
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 228.90 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploited
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 99.32 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.94
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary
Response and mitigation
Why act now?
Prioritisation rationale
This CVE is on KEV because it is unauthenticated, network-reachable and trivially exploitable via a one-liner that has shipped in Metasploit (exploit/windows/http/rejetto_hfs_exec) for years — exploitation likelihood is among the highest observed anywhere. Typical victim profiles are small file-server exposures, lab or test environments and shadow IT; attackers routinely abuse HFS to drop coinminers, enlist hosts into botnets and pivot into flat networks. For a NIS2-scoped organisation treat any internet-exposed HFS instance as a P1 incident and internal instances as P2 with a 72-hour window — strategically, the maintenance status of HFS 2.3 argues for full replacement rather than long-term patching.
Runbook step 1
Immediate response (0-24 h)
- Upgrade every Rejetto HFS instance to version 2.3c or later. All 2.3x versions before 2.3c are vulnerable; the flaw lives in
findMacroMarkerinparserLib.pasand triggers on a%00null-byte sequence inside the search action. - If upgrading is not possible right now: stop the HFS service (
net stopor kill the process) or at minimum block its HTTP listener (default TCP/80, often TCP/8080) at both the perimeter firewall and the local Windows Defender firewall. - Audit internet exposure: scan your own ASN ranges for open HFS instances (HTTP header
Server: HFS 2.3x) and isolate hits immediately. - Host triage: HFS typically runs as
hfs.exeunder a non-hardened user context — inspect process tree, scheduled tasks, Autoruns entries andTempdirectories for foreign binaries (coinminers, remote-access tools). - Because HFS is mostly used for ad-hoc file sharing: identify the business owner and evaluate replacement with hardened alternatives (SMB over VPN, Nextcloud, SFTP). The 2.3 code line is effectively unmaintained.
- Upgrade every Rejetto HFS instance to version 2.3c or later. All 2.3x versions before 2.3c are vulnerable; the flaw lives in
Runbook step 2
Mitigation layers
- Network segmentation: never place HFS directly on the internet or on flat office VLANs. Front it with a reverse proxy that enforces authentication (nginx/Apache with Basic Auth plus rate limiting) or require a TLS VPN.
- WAF/IPS rule: block requests containing a URL-encoded null byte (
%00,%2500) in query parameters — in particular paths involvingsearch,?search=or HFS macro syntax such as{.exec.}/{.save.}. Emerging Threats ships Snort/Suricata rules for CVE-2014-6287 (SID range 2019409 and following). - Endpoint hardening: run the HFS process under a dedicated non-privileged service account and use Software Restriction Policies / WDAC to forbid
hfs.exefrom spawning child processes such ascmd.exe,powershell.exe,cscript.exe,mshta.exe. - Egress filtering: block outbound connections from the HFS host to Pastebin, raw GitHub, known downloader CDNs and Monero mining pools — typical post-exploitation payloads pull second-stage components.
- Configuration hardening: in the HFS UI disable all macros (
exec,save,load), set the virtual file system to read-only, and bind the admin interface to127.0.0.1. - Perimeter monitoring: sweep internal networks regularly (Nmap
http-headers) for the defaultServer: HFS 2.3banner to surface shadow-IT instances.
Runbook step 3
Detection rules
- Web access log / reverse proxy: match
search=%00orsearch=.*%2500.*plus HFS macro markers{.exec|.save|.load}in GET/POST parameters. KQL shape:WebLog | where UriQuery contains "%00" and UserAgent !contains "healthcheck". - Sysmon EID 1 (Process Create):
ParentImageends with\hfs.exeandImageiscmd.exe,powershell.exe,wscript.exe,cscript.exe,rundll32.exe,regsvr32.exeorcertutil.exe— a direct exploitation indicator. - Sysmon EID 3 / Zeek
conn.log: outbound connections fromhfs.exeto external IPs on atypical ports (anything beyond vendor update endpoints), especially TCP to Pastebin-like hosts or mining pool ports (3333, 5555, 7777). - Windows Security EID 4688 (where Sysmon is absent): enable command-line logging and alert on
CommandLinecontainingpowershell -nop -w hidden -encwith parent processhfs.exe. - Sigma shape:
detection: selection: ParentImage|endswith: '\hfs.exe'; Image|endswith: ['\cmd.exe','\powershell.exe','\certutil.exe']; condition: selection— portable to Elastic, Splunk and Sentinel.
- Web access log / reverse proxy: match
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
Description
The findMacroMarker function in parserLib.pas in Rejetto HTTP File Server (aks HFS or HttpFileServer) 2.3x before 2.3c allows remote attackers to execute arbitrary programs via a %00 sequence in a search action.
Source: NVD (NIST), cvelistv5, CISA KEV Catalog, CVE.org (MITRE)
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| rejetto | http_file_server |
|
|
Vendors and products
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| Metasploit Framework (Pull Request) | Metasploit PR #3793 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | — |
| Packet Storm | HttpFileServer 2.3.x Remote Command Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Packet Storm | Rejetto HTTP File Server 2.3.x Remote Code Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Packet Storm | Rejetto HttpFileServer 2.3.x Remote Command Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Packet Storm | HFS HTTP File Server 2.3.x Remote Code Execution (opens in a new tab)packetstormsecurity.com | PoC (publicly reported)reported, not verified | — |
| Exploit-DB | EDB-ID 39161 (opens in a new tab)exploit-db.com | PoC (publicly reported)reported, not verified | — |
References & sources
- kb.cert.orgVU#251276Third-party advisory, x_refsource_CERT-VN, Third-party advisory, US government resource
- exploit-db.com39161Exploit, x_refsource_EXPLOIT-DB, Exploit, Third-party advisory, Vulnerability database
- packetstormsecurity.comfiles/128243/HttpFileServer-2.3.x-Remote-Command-Execution.htmlx_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
- github.comrapid7/metasploit-framework/pull/3793x_refsource_MISC, Exploit
- packetstormsecurity.comfiles/135122/Rejetto-HTTP-File-Server-2.3.x-Remote-Code-Executi…x_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
- packetstormsecurity.comfiles/160264/Rejetto-HttpFileServer-2.3.x-Remote-Command-Execut…x_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
- packetstormsecurity.comfiles/161503/HFS-HTTP-File-Server-2.3.x-Remote-Code-Execution.h…x_refsource_MISC, Exploit, Third-party advisory, Vulnerability database
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2014-6287government-resource, US government resource
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2014-6287"><img src="https://intel.neosec.eu/badge/cve/CVE-2014-6287.svg?lang=en" alt="CVE-2014-6287 – NEOSEC Intel" height="20"></a>