CVE-2024-6971 LOW

CVE-2024-6971: Path Traversal in parisneo/lollms-webui

Vendor Parisneo
Product parisneo/lollms
Weakness CWE-22 · Path traversal
Published October 11, 2024
Last update October 11, 2024

CVSS base score

3.4/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 11, 2024 CVE published
October 11, 2024 Record updated