CVE-2024-6394
JSON

7.5high

Local File Inclusion in parisneo/lollms-webui

Severity
7.5high CVSS:3.0 by @huntr_ai
Exploit likelihood
0.60% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai

Description

A Local File Inclusion vulnerability exists in parisneo/lollms-webui versions below v9.8. The vulnerability is due to unverified path concatenation in the `serve_js` function in `app.py`, which allows attackers to perform path traversal attacks. This can lead to unauthorized access to arbitrary files on the server, potentially exposing sensitive information such as private SSH keys, configuration files, and source code.

Affected

Product or packageVersionsReported by
parisneo parisneo/lollms-webuifrom unspecified up to latestCVE List
parisneo lollms-webuibefore 9.8CVE List
lollms lollms_web_ui9.8NVD

Classification

CWE-29

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

A Local File Inclusion vulnerability exists in parisneo/lollms-webui versions below v9.8. The vulnerability is due to unverified path concatenation in the `serve_js` function in `app.py`, which allows attackers to perform path traversal attacks. This can lead to unauthorized access to arbitrary files on the server, potentially exposing sensitive information such as private SSH keys, configuration files, and source code.

NVD (es)

Existe una vulnerabilidad de inclusión de archivos locales en las versiones de parisneo/lollms-webui anteriores a la v9.8. La vulnerabilidad se debe a una concatenación de rutas no verificada en la función `serve_js` en `app.py`, que permite a los atacantes realizar ataques de path traversal. Esto puede provocar un acceso no autorizado a archivos arbitrarios en el servidor, lo que podría exponer información confidencial, como claves SSH privadas, archivos de configuración y código fuente.

References

https://huntr.com/bounties/6df4f990-b632-4791-b3ea-f40c9ea905bfexploit, issue-tracking, third-party-advisory

Sources

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