SecurityContext

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

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command
CWE-284Improper Access Control

Public exploits

UrlSourceAdded date
https://github.com/JenmrR/Node.js-CVE-2024-39943poc-in-github2025-04-19
https://github.com/Heyholiday067/CVE-2024-39943-Pocpoc-in-github2024-07-05

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1dPatch
https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10Patch
https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploadsProduct

Products

ProductAffectedPlatform boundSourcesUrl
rejetto:http_file_server< 0.52.10nonvd/v1/products/rejetto/http_file_server

Projects

RepositoryLink kindsIndexedUrl
rejetto/hfscommit, compare, fix, packageyes/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