In mintplex-labs/anything-llm, a vulnerability exists in...
High severity
Unreviewed
Published
Jun 6, 2024
to the GitHub Advisory Database
•
Updated Oct 24, 2024
Description
Published by the National Vulnerability Database
Jun 6, 2024
Published to the GitHub Advisory Database
Jun 6, 2024
Last updated
Oct 24, 2024
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 theworkspace_thread
Prisma model for execution. This oversight allows attackers to craft a Prisma relation query operation that manipulates theusers
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.References