Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lollms | Lollms Web Ui | < 9.5 |
Related Weaknesses (CWE)
References
- https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176ExploitIssue TrackingPatch
- https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176ExploitIssue TrackingPatch
FAQ
What is CVE-2024-2361?
CVE-2024-2361 is a vulnerability with a CVSS score of 9.6 (CRITICAL). 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()`...
How severe is CVE-2024-2361?
CVE-2024-2361 has been rated CRITICAL with a CVSS base score of 9.6/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-2361?
Check the references section above for vendor advisories and patch information. Affected products include: Lollms Lollms Web Ui.