CVE-2024-2361

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.
References
Link Resource
https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176 Exploit Third Party Advisory Issue Tracking Patch
https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176 Exploit Third Party Advisory Issue Tracking Patch
Configurations

Configuration 1 (hide)

cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*

History

09 Jul 2025, 14:38

Type Values Removed Values Added
First Time Lollms lollms Web Ui
Lollms
CPE cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*
References () https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176 - () https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176 - Exploit, Third Party Advisory, Issue Tracking, Patch

Information

Published : 2024-05-16 09:15

Updated : 2025-07-09 14:38


NVD link : CVE-2024-2361

Mitre link : CVE-2024-2361

CVE.ORG link : CVE-2024-2361


JSON object : View

Products Affected

lollms

  • lollms_web_ui
CWE
CWE-29

Path Traversal: '\..\filename'