CVE-2024-2358: Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
A path traversal vulnerability in the '/applysettings' endpoint of parisneo/lollms-webui allows attackers to execute arbitrary code. The vulnerability arises due to insufficient sanitization of user-supplied input in the configuration settings, specifically within the 'extensions' parameter. Attackers can exploit this by crafting a payload that includes relative path traversal sequences ('../../../'), enabling them to navigate to arbitrary directories. This flaw subsequently allows the server to load and execute a malicious 'init.py' file, leading to remote code execution. The issue affects the latest version of parisneo/lollms-webui.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-2358?
CVE-2024-2358 is classified as a critical vulnerability due to its potential for arbitrary code execution.
How do I fix CVE-2024-2358?
To fix CVE-2024-2358, you should implement proper input sanitization for the '/apply_settings' endpoint in the lollms-webui.
Which versions of software are affected by CVE-2024-2358?
CVE-2024-2358 affects the Parisneo lollms-webui, but specific version details are not disclosed.
What type of vulnerability is CVE-2024-2358?
CVE-2024-2358 is a path traversal vulnerability that allows attackers to access sensitive files and execute arbitrary code.
Who can be impacted by CVE-2024-2358?
Users of the Parisneo lollms-webui who have not mitigated this vulnerability are at risk of exploitation.