CVE-2024-4330: Path Traversal in parisneo/lollms-webui
A path traversal vulnerability was identified in the parisneo/lollms-webui repository, specifically within version 9.6. The vulnerability arises due to improper handling of user-supplied input in the 'listpersonalities' endpoint. By crafting a malicious HTTP request, an attacker can traverse the directory structure and view the contents of any folder, albeit limited to subfolder names only. This issue was demonstrated via a specific HTTP request that manipulated the 'category' parameter to access arbitrary directories. The vulnerability is present in the code located at the 'endpoints/lollmsadvanced.py' file.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-4330?
CVE-2024-4330 is classified as a high-severity vulnerability due to its potential for path traversal attacks.
How do I fix CVE-2024-4330?
To mitigate CVE-2024-4330, update the lollms package to a version greater than 9.6 where the vulnerability is patched.
What is the impact of exploiting CVE-2024-4330?
Exploitation of CVE-2024-4330 allows an attacker to access unauthorized files on the server by manipulating the 'list_personalities' endpoint.
Which versions of lollms are affected by CVE-2024-4330?
CVE-2024-4330 affects version 9.6 of the lollms package; all earlier versions may also be vulnerable.
Can CVE-2024-4330 be exploited remotely?
Yes, CVE-2024-4330 can be exploited remotely through crafted malicious HTTP requests to the targeted endpoint.