CVE-2024-4498

HIGH

parisneo/lollms-webui <latest - Path Traversal

Title source: llm
STIX 2.1

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).

References (1)

Core 1
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory
https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4

Scores

CVSS v3 7.7
EPSS 0.0049
EPSS Percentile 38.2%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (1)
lollms/lollms_web_ui 9.7
Published Jun 25, 2024
Tracked Since Feb 18, 2026