CVE-2024-3150CWE-755

Privilege Escalation in mintplex-labs/anything-llm

High · published June 6, 2024

CVSS v3.0
8.1
EPSS
1%
Percentile
55.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
8.1 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00793 · 55.9th percentile
Weakness
CWE-755 · Improper Handling of Exceptional Conditions
Published
2024-06-06T18:53Z
EPSS history
Timeline
  • 06 JUN 18:53Z
    Privilege Escalation in mintplex-labs/anything-llm
    cvelistv5