CVE-2024-33120

Roothub v2.5 was discovered to contain an arbitrary file upload vulnerability via the customPath parameter in the upload() function

Critical · published May 7, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
55.4
In the wild
Unconfirmed
What it is

🔥 A crafty JSP file is all it takes to exploit Roothub v2.5! An arbitrary file upload vulnerability via the customPath parameter allows attackers to take control, and that’s no small matter! Think of your server as a sensitive kitchen where only trusted chefs are allowed to prepare the meals. This vulnerability is like letting anyone walk in with a secret recipe that could spoil the entire dish, leading to chaos in the kitchen! If exploited, an attacker could upload malicious code disguised as a JSP file, leading to the potential execution of any command on your server. This means they could read sensitive files, alter data, or even destroy everything — an absolute nightmare scenario!

Put simply

Think of your server as a sensitive kitchen where only trusted chefs are allowed to prepare the meals. This vulnerability is like letting anyone walk in with a secret recipe that could spoil the entire dish, leading to chaos in the kitchen! This vulnerability in Roothub v2.5 occurs because the upload() function does not adequately validate the customPath parameter, allowing arbitrary file uploads that can execute code on the server.

What to do

If exploited, an attacker could upload malicious code disguised as a JSP file, leading to the potential execution of any command on your server. This means they could read sensitive files, alter data, or even destroy everything — an absolute nightmare scenario! Immediately patch to the latest version, which addresses this vulnerability. Implement strict file type validations and ensure that only authorized users can access the upload functionality. Regularly audit your server for any unauthorized changes! You've got this! With these steps, you'll keep your kitchen secure and your server safe! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00778 · 55.4th percentile
Published
2024-05-07T00:00Z
EPSS history
Timeline
  • 07 MAY 00:00Z
    Roothub v2.5 was discovered to contain an arbitrary file upload vulnerability via the customPath parameter in the upload() function
    cvelistv5