Path Traversal in Lollms
CVE-2024-6985
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.004, 29.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lollms
- Parisneo Parisneo/lollms — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/79c11579-47d8-4e68-8466-b47c3bf5ef6a (Exploit, Third Party Advisory)
- github.com/parisneo/lollms/commit/28ee567a9a120967215ff19b96ab7515ce469620 (Patch)