Vulnerability

CVE-2024-5211

highCVSS 3.1 7.2Published 12 Jun 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Mintplexlabs anythingllm

Weakness type

References

  • github.com /mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147a…
  • huntr.com /bounties/38f282cb-7226-435e-9832-2d4a102dad4b

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning