CVE-2024-8581: Path Traversal in parisneo/lollms-webui
A vulnerability in the uploadapp function of parisneo/lollms-webui V12 (Strawberry) allows an attacker to delete any file or directory on the system. The function does not implement user input filtering with the filename value, causing a Path Traversal error.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-8581?
CVE-2024-8581 is classified as a critical vulnerability due to its potential for file system compromise.
How do I fix CVE-2024-8581?
To fix CVE-2024-8581, implement proper input validation and sanitization for the `filename` parameter in the `upload_app` function.
What are the consequences of exploiting CVE-2024-8581?
Exploiting CVE-2024-8581 allows an attacker to delete any file or directory, leading to data loss and system instability.
Which versions of lollms-webui are affected by CVE-2024-8581?
CVE-2024-8581 affects all versions of parisneo/lollms-webui V12 (Strawberry) due to the vulnerability in the `upload_app` function.
How can I determine if my system is vulnerable to CVE-2024-8581?
You can determine if your system is vulnerable to CVE-2024-8581 by checking for the presence of the affected `upload_app` function without adequate input filtering.