9.9
CRITICAL
CVE-2024-39943
Rejetto HFS HTTP File Server OS 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).

INFO

Published Date :

July 4, 2024, 11:15 p.m.

Last Modified :

July 8, 2024, 4:42 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Public PoC/Exploit Available at Github

CVE-2024-39943 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-39943 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rejetto http_file_server
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-39943.

URL Resource
https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d Patch
https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 Patch
https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads Product

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : Sept. 9, 2024, 1:28 a.m. This repo has been linked 128 different CVEs too.

None

HTML

Updated: 1 week, 4 days ago
0 stars 0 fork 0 watcher
Born at : Sept. 4, 2024, 9:24 a.m. This repo has been linked 128 different CVEs too.

None

HTML

Updated: 1 month, 1 week ago
5 stars 0 fork 0 watcher
Born at : Aug. 2, 2024, 6:07 a.m. This repo has been linked 123 different CVEs too.

None

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 8, 2024, 3:38 a.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 6, 2024, 5:06 p.m. This repo has been linked 1 different CVEs too.

CVE-2024-39943 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).

Python

Updated: 1 week, 6 days ago
19 stars 6 fork 6 watcher
Born at : July 5, 2024, 6:46 a.m. This repo has been linked 1 different CVEs too.

收集整理漏洞EXP/POC,大部分漏洞来源网络,目前收集整理了1000多个poc/exp,长期更新。

Updated: 1 week, 5 days ago
3420 stars 699 fork 699 watcher
Born at : Aug. 19, 2023, 12:08 p.m. This repo has been linked 125 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 week, 5 days ago
6375 stars 1107 fork 1107 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 904 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-39943 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-39943 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 08, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d No Types Assigned https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d Patch
    Changed Reference Type https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 No Types Assigned https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 Patch
    Changed Reference Type https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads No Types Assigned https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads Product
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:* versions up to (excluding) 0.52.10
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 08, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-284
  • CVE Received by [email protected]

    Jul. 04, 2024

    Action Type Old Value New Value
    Added 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).
    Added Reference MITRE https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads [No types assigned]
    Added Reference MITRE https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d [No types assigned]
    Added Reference MITRE https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 [No types assigned]
    Added CVSS V3.1 MITRE AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-39943 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-39943 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability