CVE-2024-2624CWE-29

Path Traversal and Arbitrary File Upload Vulnerability in parisneo/lollms-webui

Critical · published June 6, 2024

CVSS v3.0
9.4
EPSS
1%
Percentile
71.4
In the wild
Unconfirmed
What it is

🚨 A sneaky path traversal vulnerability could let an attacker upload files anywhere on your system! 🔥 Think of it like a delivery driver who misreads an address and drops packages in the wrong place — here, the application fails to check where those files really go, and that can lead to all sorts of chaos. An attacker could exploit this vulnerability to leak sensitive personal data, overwrite crucial configurations, or even execute arbitrary code on the server. Imagine an unauthorized user having access to your private files or changing the app's settings — that's a recipe for disaster!

Put simply

Think of it like a delivery driver who misreads an address and drops packages in the wrong place — here, the application fails to check where those files really go, and that can lead to all sorts of chaos. This vulnerability in the parisneo/lollms-webui application arises from insufficient input sanitization in the `path` parameter of the `/switch_personal_path` endpoint, allowing attackers to specify arbitrary file system paths for file uploads.

What to do

An attacker could exploit this vulnerability to leak sensitive personal data, overwrite crucial configurations, or even execute arbitrary code on the server. Imagine an unauthorized user having access to your private files or changing the app's settings — that's a recipe for disaster! Upgrade the lollms-webui to version 9.4 immediately to patch this vulnerability. Additionally, implement strict input validation to ensure that user-supplied paths are properly sanitized and restricted. You've got this! By taking action now, you can secure your application and protect sensitive data. 🛡️

The record
Technical detail
CVSS v3.0
9.4 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01357 · 71.4th percentile
Weakness
CWE-29 · Path Traversal: '\..\filename'
Published
2024-06-06T18:11Z
EPSS history
Timeline
  • 06 JUN 18:11Z
    Path Traversal and Arbitrary File Upload Vulnerability in parisneo/lollms-webui
    cvelistv5