CVE-2024-3283

Privilege Escalation via Mass Assignment in mintplex-labs/anything-llm

State
Published
Severity
7.2 High
Published
Apr 10, 2024
Updated
Aug 12, 2024
Reserved
Apr 3, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.07.2 HighCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

Affected Products

ProductVersions
mintplex-labs/anything-llmmintplex-labs
  • before 1.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.