Skip to content
CriticalVulnerability

CVE-2024-1873: parisneo/lollms-webui path traversal and denial of service via /select_database

Identifier
CVE-2024-1873
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
13.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

parisneo/lollms-webui in version a9d16b0 exposes a `/select_database` endpoint that mishandles file paths. Attackers can supply absolute paths to the `DiscussionsDB` instance, letting them create directories anywhere the application has permissions, which can stop the server from starting by creating directories named after critical files such as HTTPS certificate files. They can also repoint the database to an attacker-controlled location, scattering client data across the filesystem and causing data loss.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.