CVE-2024-6985: Path Traversal in api open_personality_folder in parisneo/lollms-webui
A path traversal vulnerability exists in the api openpersonalityfolder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personalityfolder on the victim's computer, even though sanitizepath is set. The issue arises due to improper sanitization of the personalityfolder parameter, which can be exploited to traverse directories and access arbitrary files.
Other sources
A path traversal vulnerability exists in the api openpersonalityfolder endpoint of parisneo/lollms. This vulnerability allows an attacker to read any folder in the personalityfolder on the victim's computer, even though sanitizepath is set. The issue arises due to improper sanitization of the personalityfolder parameter, which can be exploited to traverse directories and access arbitrary files.
— GitHub
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-6985?
CVE-2024-6985 is rated as a high severity path traversal vulnerability.
How do I fix CVE-2024-6985?
To fix CVE-2024-6985, update lollms to version 9.5.2 or later, ensuring proper path sanitization.
Which versions of lollms are affected by CVE-2024-6985?
CVE-2024-6985 affects lollms versions up to and including 9.5.1.
Can CVE-2024-6985 be exploited remotely?
Yes, an attacker can potentially exploit CVE-2024-6985 remotely to access sensitive files.
What component is primarily impacted by CVE-2024-6985?
CVE-2024-6985 primarily impacts the api open_personality_folder endpoint of lollms.