Skip to content
OpenAdvisories
High · 7.2 CVE-2024-3028 EUVD-2024-31636GHSA-jq5m-3v7c-39qm

Improper Input Validation in mintplex-labs/anything-llm

Published Apr 16, 2024 · Updated Sep 6, 2024 · Assigned by @huntr_ai

Description

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.

Affected products

VendorProductAffectedFixed
mintplex-labs mintplex-labs/anything-llm unspecified – < 1.0.0 1.0.0

References