logo

CVE-2024-4315 lollms

Package

Manager: pip
Name: lollms
Vulnerable Version: >=0 <9.5.0

Severity

Level: Critical

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00599 pctl0.68483

Details

parisneo/lollms Local File Inclusion (LFI) attack 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.

Metadata

Created: 2024-06-12T03:31:15Z
Modified: 2024-06-12T17:12:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-vqwr-q6cc-c242/GHSA-vqwr-q6cc-c242.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-vqwr-q6cc-c242
Finding: F063
Auto approve: 1