Prisma Vulnerability Allows Escalation of Privileges to Administrator

CVE-2024-3150
8.8HIGH

Key Information

Vendor
Mintplex-labs
Status
Mintplex-labs/anything-llm
Vendor
CVE Published:
6 June 2024

Summary

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 Version(s)

mintplex-labs/anything-llm < 1.0.0

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Risk change from: 8.8 to: 8.1 - (HIGH)

  • Risk change from: 8.8 to: 8.1 - (HIGH)

  • Risk change from: null to: 8.1 - (HIGH)

  • Vulnerability published.

  • Vulnerability Reserved.

Collectors

NVD DatabaseMitre Database
.