CVE-2024-4841 Path Traversal in parisneo/lollms-webui
Attackers can exploit a path traversal flaw in lollms-webui to predict and enumerate files and folders on the victim's computer.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-4841?
CVE-2024-4841 is a medium-severity path traversal vulnerability in parisneo/lollms-webui, published on 23 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A Path Traversal vulnerability exists in the parisneo/lollms-webui, specifically within the 'add_reference_to_local_mode' function due to the lack of input sanitization. This vulnerability affects versions v9.6 to the latest. By exploiting this vulnerability, an attacker can predict the folders, subfolders, and files present on the victim's computer. The vulnerability is present in the way the application handles the 'path' parameter in HTTP requests to the '/add_reference_to_local_model' endpoint.
Weakness: CWE-29
Which versions are affected by CVE-2024-4841?
It affects 1 product.
Products include Lollms Lollms-Webui.
How do I fix CVE-2024-4841?
No fix has been published for CVE-2024-4841 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-4841 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4841 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in parisneo/lollms-webui
- CVE-2024-4267 Remote Code Execution in parisneo/lollms-webui
- CVE-2024-1646 Authentication Bypass in parisneo/lollms-webui
- CVE-2024-1601 SQL Injection in parisneo/lollms-webui
- CVE-2024-5125 XSS and Open Redirect via SVG File Upload in parisneo/lollms-webui
- CVE-2024-1569 Uncontrolled Resource Consumption in parisneo/lollms-webui
Sources
Also known as GHSA-p4vx-w5q8-cq9j.