CVEvulnerability

CVE-2024-2361

9.6 CRITICAL Published 2024-05-16 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-16
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
9.6 CRITICAL — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weaknesses
CWE-29

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.

Affected configurations

• lollms lollms web ui (< 9.5)

Related

Weakness · CWE (1)

  • CWE-29 Path Traversal: '\..\filename' weakness

References