Path Traversal in Lollms Web Ui
CVE-2024-3322
A path traversal vulnerability exists in the 'cyber_security/codeguard' native personality of the parisneo/lollms-webui, affecting versions up to 9.5. The vulnerability arises from the improper limitation of a pathname to a restricted directory in the 'process_folder' function within 'lollms-webui/zoos/personalities_zoo/cyber_security/codeguard/scripts/processor.py'. Specifically, the function fails to properly sanitize user-supplied input for the 'code_folder_path', allowing an attacker to specify arbitrary paths using '../' or absolute paths. This flaw leads to arbitrary file read and overwrite capabilities in specified directories without limitations, posing a significant risk of sensitive information disclosure and unauthorized file manipulation.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.007 (50.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Lollms Lollms_web_ui
- Parisneo Parisneo/lollms-webui — versions unspecified
Weakness classification (CWE)
References
- security@huntr.dev (Exploit, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2024-3322?
- CVE-2024-3322 is a critical-severity vulnerability in Lollms Web Ui, classified under Path Traversal. CVSS score: 9.8/10. Published 2024-06-06.
- How severe is CVE-2024-3322?
- Critical severity. CVSS v3 base score is 9.8 out of 10.