CVE-2024-4498
Path Traversal and RFI Vulnerability in parisneo/lollms-webui
Record summary
CVE-2024-4498 has a selected CVSS score of 7.7 (high).
Description
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).
Exploitation context
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Jun 26, 2024 · Source: CVE List
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
lollms-webuiBrowse parisneo / lollms-webuiDefault status: unknown | CVE List | 9.7 to ≤ * | affected |
parisneo/lollms-webuiBrowse parisneo / parisneo/lollms-webui | CVE List | Through latest | affected |