CVEvulnerability

CVE-2024-3028

7.2 HIGH Published 2024-04-16 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-16
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.2 HIGH — CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20

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 configurations

• mintplexlabs anythingllm (< 1.0.0)

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References