Path Traversal in Lollms Web Ui
CVE-2024-4498
A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the `/apply_settings` function, allowing an attacker to manipulate the `discussion_db_name` parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the `install_binding`, `reinstall_binding`, and `unInstall_binding` endpoints, despite the presence of a `sanitize_path_from_endpoint(data.name)` filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim's system, leading to Remote Code Execution (RCE).
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.005 (39.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H.
Affected products
- Lollms Lollms_web_ui — versions 9.7
- Parisneo Parisneo/lollms-webui — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Patch, Third Party Advisory, Issue Tracking)
Frequently asked questions
- What is CVE-2024-4498?
- CVE-2024-4498 is a high-severity vulnerability in Lollms Web Ui, classified under Path Traversal. CVSS score: 7.7/10. Published 2024-06-25.
- How severe is CVE-2024-4498?
- High severity. CVSS v3 base score is 7.7 out of 10.