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…

Critical · published July 4, 2024

CVSS v3.1
9.9
EPSS
39%
Percentile
98.6
In the wild
Unconfirmed
What it is

🔥 A remote authenticated user with upload permissions can execute OS commands on rejetto HFS versions before 0.52.10! Think of it like a delivery person being allowed into your office to drop off packages — but instead of just dropping them off, they can also access your computer and execute commands at will! It's a recipe for disaster if not addressed, as that delivery person could rearrange your entire office or worse! An attacker could leverage this vulnerability to run arbitrary commands on the server, potentially leading to system compromise, data theft, or even complete control over the server. It's absolutely devastating when someone can hijack your trusted environment and execute harmful commands!

Put simply

Think of it like a delivery person being allowed into your office to drop off packages — but instead of just dropping them off, they can also access your computer and execute commands at will! It's a recipe for disaster if not addressed, as that delivery person could rearrange your entire office or worse! This vulnerability occurs because the rejetto HFS uses a shell to execute the 'df' command via 'execSync' instead of 'spawnSync' in Node.js, allowing authenticated users with upload rights to run any OS command they desire.

What to do

An attacker could leverage this vulnerability to run arbitrary commands on the server, potentially leading to system compromise, data theft, or even complete control over the server. It's absolutely devastating when someone can hijack your trusted environment and execute harmful commands! Immediately update rejetto HFS to version 0.52.10 or later to mitigate this risk. Additionally, review user permissions and limit upload capabilities to trusted users only. Don't forget to audit your systems for any signs of unauthorized command execution! You've got this! With these steps, you can patch the vulnerability and keep your systems safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N
CVSS v4.0
Not supplied
EPSS
0.39474 · 98.6th percentile
Published
2024-07-04T00:00Z
EPSS history
Timeline
  • 04 JUL 00:00Z
    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…
    cvelistv5