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).
Configurations

Configuration 1 (hide)

cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:*

History

21 Nov 2024, 09:28

Type Values Removed Values Added
References () https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d - Patch () https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d - Patch
References () https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 - Patch () https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 - Patch
References () https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads - Product () https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads - Product
CVSS v2 : unknown
v3 : 8.8
v2 : unknown
v3 : 9.9

08 Jul 2024, 16:42

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.9
v2 : unknown
v3 : 8.8
References () https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d - () https://github.com/rejetto/hfs/commit/305381bd36eee074fb238b64302a252668daad1d - Patch
References () https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 - () https://github.com/rejetto/hfs/compare/v0.52.9...v0.52.10 - Patch
References () https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads - () https://www.rejetto.com/wiki/index.php/HFS:_Working_with_uploads - Product
First Time Rejetto
Rejetto http File Server
CPE cpe:2.3:a:rejetto:http_file_server:*:*:*:*:*:*:*:*
CWE CWE-78

08 Jul 2024, 14:18

Type Values Removed Values Added
CWE CWE-284

05 Jul 2024, 12:55

Type Values Removed Values Added
Summary
  • (es) rejetto HFS (también conocido como servidor de archivos HTTP) 3 anterior a 0.52.10 en Linux, UNIX y macOS permite la ejecución de comandos del sistema operativo por parte de usuarios remotos autenticados (si tienen permisos de carga). Esto ocurre porque se usa un shell para ejecutar df (es decir, con execSync en lugar de spawnSync en child_process en Node.js).

04 Jul 2024, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-04 23:15

Updated : 2024-11-21 09:28


NVD link : CVE-2024-39943

Mitre link : CVE-2024-39943

CVE.ORG link : CVE-2024-39943


JSON object : View

Products Affected

rejetto

  • http_file_server
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-284

Improper Access Control