CVE Vulnerabilities

CVE-2024-2362

Absolute Path Traversal

Published: Jun 06, 2024 | Modified: Nov 21, 2024
CVSS 3.x
9.1
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A path traversal vulnerability exists in the parisneo/lollms-webui version 9.3 on the Windows platform. Due to improper validation of file paths between Windows and Linux environments, an attacker can exploit this vulnerability to delete any file on the system. The issue arises from the lack of adequate sanitization of user-supplied input in the del_preset endpoint, where the application fails to prevent the use of absolute paths or directory traversal sequences (..). As a result, an attacker can send a specially crafted request to the del_preset endpoint to delete files outside of the intended directory.

Weakness

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as “/abs/path” that can resolve to a location that is outside of that directory.

Affected Software

Name Vendor Start Version End Version
Lollms_web_ui Lollms 9.3 (including) 9.3 (including)

References