CVE-2024-1873CWE-22

Path Traversal and Denial of Service in parisneo/lollms-webui

High · published June 6, 2024

CVSS v3.0
8.2
EPSS
13%
Percentile
96.4
In the wild
Unconfirmed
What it is

⚡ A sneaky path traversal vulnerability in parisneo/lollms-webui lets attackers dictate file paths, like giving a courier a fake address for delivery! Picture a restaurant where a customer can scribble any address for their food delivery. Instead of going to the kitchen, the delivery ends up at an unmonitored site, causing chaos and mess—just like how attackers can create directories anywhere on your server with this vulnerability! If exploited, attackers could not only create directories with critical names, like HTTPS certificate files, but also disrupt your entire server startup. This could lead to complete denial of service and loss of critical client data, as files scatter across the system, making recovery a nightmare. Yikes!

Put simply

Picture a restaurant where a customer can scribble any address for their food delivery. Instead of going to the kitchen, the delivery ends up at an unmonitored site, causing chaos and mess—just like how attackers can create directories anywhere on your server with this vulnerability! This path traversal vulnerability exists in version a9d16b0 of parisneo/lollms-webui, where the exposed `/select_database` endpoint improperly handles file paths, allowing attackers to access the file system inappropriately and manipulate database paths.

What to do

If exploited, attackers could not only create directories with critical names, like HTTPS certificate files, but also disrupt your entire server startup. This could lead to complete denial of service and loss of critical client data, as files scatter across the system, making recovery a nightmare. Yikes! Immediately patch to the latest version and secure the `/select_database` endpoint to prevent unauthorized access. Regularly audit file permissions, and consider implementing input validation to safeguard against such path traversal attacks. You've got this! With a few key updates, you can lock down your system and protect your data! 🛡️

The record
Technical detail
CVSS v3.0
8.2 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.13389 · 96.4th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-06-06T18:40Z
EPSS history
Timeline
  • 06 JUN 18:40Z
    Path Traversal and Denial of Service in parisneo/lollms-webui
    cvelistv5