LoLLMS Path Traversal vulnerability
High severity
GitHub Reviewed
Published
Jun 6, 2024
to the GitHub Advisory Database
•
Updated Sep 25, 2024
Description
Published by the National Vulnerability Database
Jun 6, 2024
Published to the GitHub Advisory Database
Jun 6, 2024
Reviewed
Sep 13, 2024
Last updated
Sep 25, 2024
A path traversal vulnerability exists in the parisneo/lollms application, specifically within the
sanitize_path_from_endpoint
andsanitize_path
functions inlollms_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