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).
References
Link Resource
https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4 Exploit Third Party Advisory Issue Tracking Patch
https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4 Exploit Third Party Advisory Issue Tracking Patch
Configurations

Configuration 1 (hide)

cpe:2.3:a:lollms:lollms_web_ui:9.7:*:*:*:*:*:*:*

History

09 Jul 2025, 14:24

Type Values Removed Values Added
References () https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4 - () https://huntr.com/bounties/9238e88a-a6ca-4915-9b5d-6cdb4148d3f4 - Exploit, Third Party Advisory, Issue Tracking, Patch
First Time Lollms lollms Web Ui
Lollms
CPE cpe:2.3:a:lollms:lollms_web_ui:9.7:*:*:*:*:*:*:*

Information

Published : 2024-06-25 20:15

Updated : 2025-07-09 14:24


NVD link : CVE-2024-4498

Mitre link : CVE-2024-4498

CVE.ORG link : CVE-2024-4498


JSON object : View

Products Affected

lollms

  • lollms_web_ui
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')