Vulnerability

CVE-2024-3150

highCVSS 3.1 8.8Published 6 Jun 2024

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

Description

In mintplex-labs/anything-llm, a vulnerability exists in the thread update process that allows users with Default or Manager roles to escalate their privileges to Administrator. The issue arises from improper input validation when handling HTTP POST requests to the endpoint `/workspace/:slug/thread/:threadSlug/update`. Specifically, the application fails to validate or check user input before passing it to the `workspace_thread` Prisma model for execution. This oversight allows attackers to craft a Prisma relation query operation that manipulates the `users` model to change a user's role to admin. Successful exploitation grants attackers the highest level of user privileges, enabling them to see and perform all actions within the system.

Affected products

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

  • Mintplexlabs anythingllm

Weakness type

References

  • github.com /mintplex-labs/anything-llm/commit/200bd7f0615347ed2efc0790…
  • huntr.com /bounties/745f5c80-14ea-4055-9f15-a066ae93e5a3

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

Start scanning