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

High 7.5 Published Updated

Attackers can traverse directories via the category parameter to list system folders, causing information disclosure in lollms-webui.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-4322?

CVE-2024-4322 is a high-severity path traversal vulnerability in parisneo/lollms-webui, published on 16 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-29

Which versions are affected by CVE-2024-4322?

It affects 1 product.

Products include Lollms Lollms Web Ui.

How do I fix CVE-2024-4322?

No fix has been published for CVE-2024-4322 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-4322 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4322 exists.

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-482r-2hv2-p3x7.

Is CVE-2024-4322 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free