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.

Status: PUBLISHED
Assigner: @huntr_ai
Published:
Updated: 2024-08-01T19:11:53.455Z
Reserved: 2024-03-10T00:06:37.351Z
Link: CVE-2024-2361

Updated: 2024-08-01T19:11:53.455Z

Status : Awaiting Analysis
Published: 2024-05-16T09:15:10.060
Modified: 2024-11-21T09:09:35.667
Link: CVE-2024-2361

No data.