Vulnerability · Published Jun 6, 2024 · Assigned by @huntr_ai

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

High 8.2

In plain English

A high-severity path traversal in parisneo/lollms-webui from parisneo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 13.4% (higher than 96% of all known vulnerabilities).

Severity (CVSS 3.0)8.2High
Exploit odds (30 days)13.4%top 3.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

parisneo/lollms-webui is vulnerable to path traversal and denial of service attacks due to an exposed `/select_database` endpoint in version a9d16b0. The endpoint improperly handles file paths, allowing attackers to specify absolute paths when interacting with the `DiscussionsDB` instance. This flaw enables attackers to create directories anywhere on the system where the application has permissions, potentially leading to denial of service by creating directories with names of critical files, such as HTTPS certificate files, causing server startup failures. Additionally, attackers can manipulate the database path, resulting in the loss of client data by constantly changing the file location to an attacker-controlled location, scattering the data across the filesystem and making recovery difficult.

Affected products (as reported)

VendorProductVersions
parisneo parisneo/lollms-webui unspecified – before v9.3

Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L

References