A remote code execution vulnerability exists in the parisneo/lollms-webui application, specifically within the reinstall_binding functionality in lollms_core/lollms/server/endpoints/lollms_binding_infos.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 binding_path to point to a controlled directory and uploading a malicious __init__.py file, an attacker can execute arbitrary code on the server.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-05-16T09:03:49.643Z

Updated: 2024-08-01T19:11:53.448Z

Reserved: 2024-03-10T17:48:36.110Z

Link: CVE-2024-2366

cve-icon Vulnrichment

Updated: 2024-08-01T19:11:53.448Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-16T09:15:10.287

Modified: 2024-05-16T13:03:05.353

Link: CVE-2024-2366

cve-icon Redhat

No data.