9.0critical
Remote Code Execution in parisneo/lollms-webui
- Severity
- 9.0critical CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| parisneo parisneo/lollms-webui | from unspecified up to latest | CVE List |
| parisneo lollms-webui | - | CVE List |
| lollms lollms_web_ui | before 9.5 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Existe una vulnerabilidad de ejecución de código remoto en la aplicación parisneo/lollms-webui, específicamente dentro de la funcionalidad reinstall_binding en lollms_core/lollms/server/endpoints/lollms_binding_infos.py de la última versión. La vulnerabilidad surge debido a una desinfección de ruta insuficiente, lo que permite a un atacante aprovechar el path traversal para navegar a directorios arbitrarios. Al manipular binding_path para que apunte a un directorio controlado y cargar un archivo __init__.py malicioso, un atacante puede ejecutar código arbitrario en el servidor.
References
| https://huntr.com/bounties/63266c77-408b-45ff-962c-8163db50a864 | exploit, issue-tracking, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2366 changed 2024-08-01 | CVE Terms of Use |
| NVD | CVE-2024-2366 changed 2026-06-17 | Public domain |