CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Mintplexlabs

CVE-2024-3104
Mintplexlabs Anythingllm vulnerability

A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables. Attackers can exploit this vulnerability by injecting arbitrary environment variables via the `POST /api/system/update-env` endpoint, which allows for the execution of arbitrary code on the host running anything-llm. The vulnerability is present in the latest version of anything-llm, with the latest commit identified as fde905aac1812b84066ff72e5f2f90b56d4c3a59. This issue has been fixed in version 1.0.0. Successful exploitation could lead to code execution on the host, enabling attackers to read and modify data accessible to the user running the service, potentially leading to a denial of service.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

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.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

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.