First published: Thu Mar 20 2025(Updated: )
A vulnerability in the `upload_app` 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.
Credit: security@huntr.dev
Affected Software | Affected Version | How to fix |
---|---|---|
parisneo lollms |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-8581 is classified as a critical vulnerability due to its potential for file system compromise.
To fix CVE-2024-8581, implement proper input validation and sanitization for the `filename` parameter in the `upload_app` function.
Exploiting CVE-2024-8581 allows an attacker to delete any file or directory, leading to data loss and system instability.
CVE-2024-8581 affects all versions of parisneo/lollms-webui V12 (Strawberry) due to the vulnerability in the `upload_app` function.
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.