Critical severity · published Jun 6, 2024
CVE-2024-2624
Path Traversal and Arbitrary File Upload Vulnerability in parisneo/lollms-webui
9.8
CVSS
1.4%
EPSS
No
On KEV
Description
A path traversal and arbitrary file upload vulnerability exists in the parisneo/lollms-webui application, specifically within the `@router.get("/switch_personal_path")` endpoint in `./lollms-webui/lollms_core/lollms/server/endpoints/lollms_user.py`. The vulnerability arises due to insufficient sanitization of user-supplied input for the `path` parameter, allowing an attacker to specify arbitrary file system paths. This flaw enables direct arbitrary file uploads, leakage of `personal_data`, and overwriting of configurations in `lollms-webui`->`configs` by exploiting the same named directory in `personal_data`. The issue affects the latest version of the application and is fixed in version 9.4. Successful exploitation could lead to sensitive information disclosure, unauthorized file uploads, and potentially remote code execution by overwriting critical configuration files.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
parisneo/lollms-webui · parisneo
before 9.4 · source: vendor
LW
Lollms Web UI · Lollms
before 9.4 · source: NVD
LO
Lollms-webui · Parisneo
before 9.4 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-2624
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-2624
Patch
https://github.com/parisneo/lollms-webui/commit/aeba79f3ea934331b8ecd625a58bae6e4f7e7d3f
Exploit
https://huntr.com/bounties/39e17897-0e92-4473-91c7-f728322191aa
More from parisneo/lollms-webui
9.8
CVE-2024-8898
Path Traversal in parisneo/lollms-webui
9.8
CVE-2024-2359
Improper Neutralization of Special Elements used in an OS Command in parisneo/lollms-webui
9.8
CVE-2024-2360
Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
9.8
CVE-2024-3322
Path Traversal in parisneo/lollms-webui
9.8
CVE-2024-4320
Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui
