CVE-2024-6971Path Traversal in Lollms

CWE-22Path Traversal3 documents3 sources
Severity
4.4MEDIUMNVD
EPSS
0.0%
top 92.44%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 11

Description

A path traversal vulnerability exists in the parisneo/lollms-webui repository, specifically in the `lollms_file_system.py` file. The functions `add_rag_database`, `toggle_mount_rag_database`, and `vectorize_folder` do not implement security measures such as `sanitize_path_from_endpoint` or `sanitize_path`. This allows an attacker to perform vectorize operations on `.sqlite` files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HExploitability: 0.8 | Impact: 3.6

Affected Packages3 packages

CVEListV5parisneo/parisneo_lollmsunspecifiedlatest
PyPIlollms/lollms9.5.1

🔴Vulnerability Details

2
OSV
Lord of Large Language Models (LoLLMs) Server path traversal vulnerability in lollms_file_system.py2024-10-11
GHSA
Lord of Large Language Models (LoLLMs) Server path traversal vulnerability in lollms_file_system.py2024-10-11