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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: @huntr_ai
Published: 2024-06-06T18:53:43.168Z
Updated: 2024-08-01T20:05:07.622Z
Reserved: 2024-04-01T17:57:04.983Z
Link: CVE-2024-3150
Vulnrichment
Updated: 2024-08-01T20:05:07.622Z
NVD
Status : Awaiting Analysis
Published: 2024-06-06T19:16:00.350
Modified: 2024-06-07T14:56:05.647
Link: CVE-2024-3150
Redhat
No data.