Vulnerability · Published Oct 11, 2024 · Assigned by @huntr_ai

CVE-2024-6985Path Traversal in api open_personality_folder in parisneo/lollms-webui

Medium 4.4

In plain English

A medium-severity security flaw in parisneo/lollms from parisneo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)4.4Medium
Exploit odds (30 days)0.4%top 71.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlollmsno fix listedGHSA-6h64-g7cj-hj56
PyPIlollms5.9.0PYSEC-2024-122

Affected products (as reported)

VendorProductVersions
parisneo parisneo/lollms unspecified – before 5.9.0

Weakness: CWE-23 · Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

References