LoLLMS Command Injection vulnerability
High severity
GitHub Reviewed
Published
May 16, 2024
to the GitHub Advisory Database
•
Updated Sep 13, 2024
Description
Published by the National Vulnerability Database
May 16, 2024
Published to the GitHub Advisory Database
May 16, 2024
Reviewed
Sep 13, 2024
Last updated
Sep 13, 2024
A vulnerability in the parisneo/lollms, specifically in the
/unInstall_binding
endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling thename
parameter in theunInstall_binding
function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious__init__.py
file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.References