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.
References
Link | Resource |
---|---|
https://github.com/mintplex-labs/anything-llm/commit/200bd7f0615347ed2efc07903d510e5a208b0afc | Patch |
https://huntr.com/bounties/745f5c80-14ea-4055-9f15-a066ae93e5a3 | Exploit Third Party Advisory |
Configurations
History
04 Nov 2024, 11:15
Type | Values Removed | Values Added |
---|---|---|
CWE |
24 Oct 2024, 19:35
Type | Values Removed | Values Added |
---|---|---|
First Time |
Mintplexlabs anythingllm
Mintplexlabs |
|
CWE | CWE-755 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
References | () https://github.com/mintplex-labs/anything-llm/commit/200bd7f0615347ed2efc07903d510e5a208b0afc - Patch | |
References | () https://huntr.com/bounties/745f5c80-14ea-4055-9f15-a066ae93e5a3 - Exploit, Third Party Advisory | |
CPE | cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:* |
07 Jun 2024, 14:56
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
06 Jun 2024, 19:16
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-06-06 19:16
Updated : 2024-11-04 11:15
NVD link : CVE-2024-3150
Mitre link : CVE-2024-3150
CVE.ORG link : CVE-2024-3150
JSON object : View
Products Affected
mintplexlabs
- anythingllm
CWE
CWE-755
Improper Handling of Exceptional Conditions