CVE-2024-1873 Path Traversal and Denial of Service in parisneo/lollms-webui
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lollms web ui | All versions | No fix listed | No fix yet |
| parisneo/lollms-webui | < v9.3 | v9.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parisneo/lollms-webui | < v9.3 | v9.3 |
| lollms web ui | All versions | No fix listed |
References
- huntr.com third-party-advisory
- github.com