What’s Vulnerable › Vulnerabilities

CVE-2024-4322: Path Traversal in parisneo/lollms-webui

Description

A path traversal vulnerability exists in the parisneo/lollms-webui application, specifically within the `/list_personalities` endpoint. By manipulating the `category` parameter, an attacker can traverse the directory structure and list any directory on the system. This issue affects the latest version of the application. The vulnerability is due to improper handling of user-supplied input in the `list_personalities` function, where the `category` parameter can be controlled to specify arbitrary directories for listing. Successful exploitation of this vulnerability could allow an attacker to list all folders in the drive on the system, potentially leading to information disclosure.

Affected products

How to fix

Upgrade to a fixed version: ParisNeo lollms-webui 9.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-4322 or the next vulnerability affects your stack