CVE-2024-39943: Rejetto HFS - Command Injection
- Cve: CVE-2024-39943
- Name: Rejetto HFS - Command Injection
- Description: rejetto HFS (aka HTTP File Server) 3 before 0.52.10 on Linux, UNIX, and macOS allows OS command execution by remote authenticated users (if they have Upload permissions). This occurs because a shell is used to execute df (i.e., with execSync instead of spawnSync in child_process in Node.js).
- Impact: Remote authenticated users can execute arbitrary OS commands, potentially leading to full system compromise.
- Remediation: Update to version 0.52.10 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs upload permissions and authentication
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.37493
- Epss percentile: 0.98554
- Assignee: [email protected]
- Published at: 2024-07-04T23:15:09Z
- Age in days: 873
- Modified at: 2026-06-17T07:43:04Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-39943
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
| CWE-284 | Improper Access Control |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/JenmrR/Node.js-CVE-2024-39943 | poc-in-github | 2025-04-19 |
| https://github.com/Heyholiday067/CVE-2024-39943-Poc | poc-in-github | 2024-07-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| rejetto:http_file_server | < 0.52.10 | no | nvd | /v1/products/rejetto/http_file_server |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rejetto/hfs | commit, compare, fix, package | yes | /v1/repositories/rejetto/hfs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2024-07-05
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1159
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports