CVE-2024-2624: Path Traversal and Arbitrary File Upload Vulnerability in parisneo/lollms-webui
A path traversal and arbitrary file upload vulnerability exists in the parisneo/lollms-webui application, specifically within the @router.get("/switchpersonalpath") endpoint in ./lollms-webui/lollmscore/lollms/server/endpoints/lollmsuser.py. The vulnerability arises due to insufficient sanitization of user-supplied input for the path parameter, allowing an attacker to specify arbitrary file system paths. This flaw enables direct arbitrary file uploads, leakage of personaldata, and overwriting of configurations in lollms-webui->configs by exploiting the same named directory in personaldata. The issue affects the latest version of the application and is fixed in version 9.4. Successful exploitation could lead to sensitive information disclosure, unauthorized file uploads, and potentially remote code execution by overwriting critical configuration files.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-2624?
CVE-2024-2624 has a high severity due to its potential for exploitation via path traversal and arbitrary file uploads.
How do I fix CVE-2024-2624?
To fix CVE-2024-2624, update the Lollms Web UI application to a version newer than 9.4.
What applications are affected by CVE-2024-2624?
CVE-2024-2624 affects the Lollms Web UI application versions prior to 9.4.
What type of vulnerability is CVE-2024-2624?
CVE-2024-2624 is a path traversal and arbitrary file upload vulnerability.
What is the impact of CVE-2024-2624?
The impact of CVE-2024-2624 could allow an attacker to upload malicious files and access unauthorized file paths.