INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2024-3429

LoLLMS Path Traversal vulnerability

CVE-2024-3429 ยท 2024-06-06 high

Class
AI Framework and Platform Flaws (filed by a model that read the advisory)
Technique
Path traversal and file access
Affected
lollms (PyPI)
Gets past
Path restriction
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
28.3% chance of exploitation in 30 days

How it works, in short

Weak Windows path sanitisation lets crafted input escape the intended directory and read arbitrary files. (Our summary, written by a model. The source text is below.)

Details

A path traversal vulnerability exists in the parisneo/lollms application, specifically within the sanitize_path_from_endpoint and sanitize_path functions in lollms_core\lollms\security.py. This vulnerability allows for arbitrary file reading when the application is running on Windows. The issue arises due to insufficient sanitization of user-supplied input, enabling attackers to bypass the path traversal protection mechanisms by crafting malicious input. Successful exploitation could lead to unauthorized access to sensitive files, information disclosure, and potentially a denial of service (DoS) condition by including numerous large or resource-intensive files. This vulnerability affects the latest version prior to 9.5.0.

References

Source: GitHub Advisory Database, used under CC BY 4.0.