CVE-2024-4315

Critical

Description

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductLollms
PublishedJun 12, 2024
First seenJun 12, 2024

How to fix

Update
  • lollms9.5.0 or later

Affected products

ProductAffected versionsFixed in
lollmsPyPIv < 9.5.09.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.