A path traversal vulnerability in the '/apply_settings' 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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-05-16T09:03:45.397Z
Updated: 2024-08-01T19:11:53.476Z
Reserved: 2024-03-09T22:49:41.242Z
Link: CVE-2024-2358
Vulnrichment
Updated: 2024-08-01T19:11:53.476Z
NVD
Status : Awaiting Analysis
Published: 2024-05-16T09:15:09.800
Modified: 2024-05-16T13:03:05.353
Link: CVE-2024-2358
Redhat
No data.