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

Critical 9.1 Published Updated

An attacker can delete arbitrary files on the system via path traversal in the del_preset endpoint of Lollms Web UI.

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-2362?

CVE-2024-2362 is a critical path traversal vulnerability in parisneo/lollms-webui, published on 6 Jun 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 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: CWE-22, CWE-36

Which versions are affected by CVE-2024-2362?

It affects 1 product.

Products include Lollms Lollms Web Ui.

How do I fix CVE-2024-2362?

No fix has been published for CVE-2024-2362 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-2362 being exploited?

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

Sources

Also known as GHSA-5wv7-58x2-44rh.

Is CVE-2024-2362 in your software?

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

Check your SBOMs for free