RCE in Lollms Web Ui
CVE-2024-2366
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 52.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lollms Web Ui
- Parisneo Parisneo/lollms-Webui — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/63266c77-408b-45ff-962c-8163db50a864 (Exploit, Patch, Third Party Advisory, Issue Tracking)