First published: Thu May 16 2024(Updated: )
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.
Credit: security@huntr.dev
Affected Software | Affected Version | How to fix |
---|---|---|
parisneo lollms |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2024-2361 has been designated as high due to its potential for arbitrary file upload and read.
To fix CVE-2024-2361, ensure proper sanitization of user-supplied inputs in the 'install_model()' function of the application.
CVE-2024-2361 affects the 'parisneo/lollms-webui' application.
The potential impacts of CVE-2024-2361 include unauthorized file uploads and exposure of sensitive information.
As of now, there is no official patch announced for CVE-2024-2361; users should monitor updates from the vendor.