CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Mintplexlabs

CVE-2024-5211
Mintplexlabs Anythingllm vulnerability

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

Anythingllm. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mintplexlabs Anythingllm runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Mintplexlabs products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.