PT-2024-28745 · Rejetto · Rejetto Hfs

Charmindoge

·

Published

2024-07-04

·

Updated

2024-08-24

·

CVE-2024-39943

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions rejetto HFS (aka HTTP File Server) versions 3 before 0.52.10
Description The issue allows OS command execution by remote authenticated users who have Upload permissions. This occurs because a shell is used to execute df with execSync instead of spawnSync in child process in Node.js. A proof-of-concept exploit has been released, posing a significant threat to systems running versions of HFS before 0.52.10 on Linux, UNIX, and macOS.
Recommendations Update to version 0.52.10 to stay protected. As a temporary workaround, consider restricting Upload permissions for remote authenticated users until the update is applied. Additionally, be cautious when using the execSync function in Node.js, as it can pose security risks if not used properly.

Exploit

Fix

Improper Access Control

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2024-39943
GHSA-5F4X-HWV2-W9W2

Affected Products

Rejetto Hfs