mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: @huntr_ai

Published: 2024-04-16T00:00:14.083Z

Updated: 2024-09-06T17:55:53.545Z

Reserved: 2024-03-27T19:07:34.622Z

Link: CVE-2024-3028

cve-icon Vulnrichment

Updated: 2024-08-01T19:32:42.699Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-16T00:15:11.667

Modified: 2024-11-21T09:28:43.047

Link: CVE-2024-3028

cve-icon Redhat

No data.