CVE-2024-2366
Remote Code Execution in parisneo/lollms-webui
- State
- Published
- Severity
- 9.0 Critical
- Published
- May 16, 2024
- Updated
- Aug 1, 2024
- Reserved
- Mar 10, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 9.0 Critical | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | @huntr_ai |
Weaknesses
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Products
| Product | Versions |
|---|---|
parisneo/lollms-webuiparisneo |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.