CVE-2024-6971
October 11, 2024
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.
Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.6
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
3.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.03