Privilege Escalation via Mass Assignment in mintplex-labs/anything-llm
Published Apr 10, 2024
7.2
HIGHCVSS 3.0
EPSS 0.95%
Description
A vulnerability in mintplex-labs/anything-llm allows users with manager roles to escalate their privileges to admin roles through a mass assignment issue. The '/admin/system-preferences' API endpoint improperly authorizes manager-level users to modify the 'multi_user_mode' system variable, enabling them to access the '/api/system/enable-multi-user' endpoint and create a new admin user. This issue results from the endpoint accepting a full JSON object in the request body without proper validation of modifiable fields, leading to unauthorized modification of system settings and subsequent privilege escalation.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<1.0.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Mintplex-Labs | Mintplex-Labs/anything-Llm | n/a |
|
- < 1.0.0
-
- Version 0StatusaffectedConstraints<1.0.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Mintplexlabs | Anythingllm | n/a |
|
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (3)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-31873 Advisory
- https://github.com/mintplex-labs/anything-llm/commit/52fac844221a9b951d08ceb93c4c014e9397b1f2 Patch
- https://huntr.com/bounties/a8000cce-0ecb-4820-9cfb-57ba6f4d58a2 ExploitThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-31873 | Advisory | |
| https://github.com/mintplex-labs/anything-llm/commit/52fac844221a9b951d08ceb93c4c014e9397b1f2 | Patch | |
| https://huntr.com/bounties/a8000cce-0ecb-4820-9cfb-57ba6f4d58a2 | ExploitThird Party Advisory |
Change history (0)
No recorded changes yet.