A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-06-12T11:33:42.236Z
Updated: 2024-08-01T21:03:10.993Z
Reserved: 2024-05-22T16:52:03.720Z
Link: CVE-2024-5211
Vulnrichment
Updated: 2024-08-01T21:03:10.993Z
NVD
Status : Awaiting Analysis
Published: 2024-06-12T12:15:10.520
Modified: 2024-06-13T18:36:09.010
Link: CVE-2024-5211
Redhat
No data.