CVE-2024-2366
JSON

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 packageVersionsReported by
parisneo parisneo/lollms-webuifrom unspecified up to latestCVE List
parisneo lollms-webui-CVE List
lollms lollms_web_uibefore 9.5NVD

Classification

CWE-77

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-8163db50a864exploit, issue-tracking, patch, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2024-2366 changed 2024-08-01CVE Terms of Use
NVDCVE-2024-2366 changed 2026-06-17Public domain