CVE-2024-4315
June 12, 2024
parisneo/lollms version 9.5 is vulnerable to Local File Inclusion (LFI) attacks due to insufficient path sanitization. The "sanitize_path_from_endpoint" function fails to properly sanitize Windows-style paths (backward slash "\"), allowing attackers to perform directory traversal attacks on Windows systems. This vulnerability can be exploited through various routes, including "personalities" and "/del_preset", to read or delete any file on the Windows filesystem, compromising the system's availability.
Affected Packages
lollms (PYTHON):
Affected version(s) >=1.1.2 <9.5.0Fix Suggestion:
Update to version 9.5.0Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
1.17