A vulnerability in the parisneo/lollms-webui allows for arbitrary file upload and read due to insufficient sanitization of user-supplied input. Specifically, the issue resides in the `install_model()` function within `lollms_core/lollms/binding.py`, where the application fails to properly sanitize the `file://` protocol and other inputs, leading to arbitrary read and upload capabilities. Attackers can exploit this vulnerability by manipulating the `path` and `variant_name` parameters to achieve path traversal, allowing for the reading of arbitrary files and uploading files to arbitrary locations on the server. This vulnerability affects the latest version of parisneo/lollms-webui.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-05-16T09:03:50.151Z
Updated: 2024-08-01T19:11:53.455Z
Reserved: 2024-03-10T00:06:37.351Z
Link: CVE-2024-2361
Vulnrichment
Updated: 2024-08-01T19:11:53.455Z
NVD
Status : Awaiting Analysis
Published: 2024-05-16T09:15:10.060
Modified: 2024-05-16T13:03:05.353
Link: CVE-2024-2361
Redhat
No data.