CVE-2024-2366: Remote Code Execution in parisneo/lollms-webui
A remote code execution vulnerability exists in the parisneo/lollms-webui application, specifically within the reinstallbinding functionality in lollmscore/lollms/server/endpoints/lollmsbindinginfos.py of the latest version. The vulnerability arises due to insufficient path sanitization, allowing an attacker to exploit path traversal to navigate to arbitrary directories. By manipulating the bindingpath to point to a controlled directory and uploading a malicious init.py file, an attacker can execute arbitrary code on the server.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-2366?
CVE-2024-2366 is classified as a remote code execution vulnerability, which is considered critical due to its potential for allowing unauthorized access and control.
How do I fix CVE-2024-2366?
To mitigate CVE-2024-2366, update the parisneo/lollms-webui application to the latest version where the vulnerability has been patched.
What causes CVE-2024-2366?
CVE-2024-2366 is caused by insufficient path sanitization in the reinstall_binding functionality of the lollms-webui application.
Who is affected by CVE-2024-2366?
All users and systems running the parisneo/lollms-webui application are affected by CVE-2024-2366.
How can I determine if I am vulnerable to CVE-2024-2366?
To assess vulnerability to CVE-2024-2366, check if your version of the parisneo/lollms-webui application contains the reinstall_binding functionality without the recent security updates.