CVE-2024-2361

Critical

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.

SeverityCritical
CVSS9.6
Exploit probability—
ProductLollms Web Ui
PublishedMay 16, 2024
First seenMay 16, 2024
Weakness typeCWE-29CWE-29

How to fix

Update
  • lollms lollms_web_ui9.5 or later

Affected products

ProductAffected versionsFixed in
lollms lollms_web_uiv < 9.59.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.