CVE-2024-0404CWE-915

Mass Assignment Vulnerability in mintplex-labs/anything-llm

Critical · published April 16, 2024

CVSS v3.0
9.1
EPSS
1%
Percentile
55.5
In the wild
Unconfirmed
What it is

🚨 A sneaky mass assignment vulnerability in the mintplex-labs/anything-llm API could let attackers create unauthorized admin accounts with a simple tweak of an invitation link! 🔥 Think of it like a party invitation that comes with a plus one, but instead of just a friend, the guest shows up with the keys to the VIP lounge — totally unauthorized access! If exploited, this vulnerability allows an attacker to escalate their privileges and take full control of your system as an administrator. Imagine the chaos of a party where the uninvited guest starts making all the decisions — they could delete data, modify settings, or cause all sorts of havoc!

Put simply

Think of it like a party invitation that comes with a plus one, but instead of just a friend, the guest shows up with the keys to the VIP lounge — totally unauthorized access! The vulnerability arises from a lack of property allowlisting in the `/api/invite/:code` endpoint, allowing attackers to modify HTTP requests and inject an `admin` role during account creation. This oversight means unauthorized users can gain high-level access without proper validation.

What to do

If exploited, this vulnerability allows an attacker to escalate their privileges and take full control of your system as an administrator. Imagine the chaos of a party where the uninvited guest starts making all the decisions — they could delete data, modify settings, or cause all sorts of havoc! Immediately patch your system by applying the latest updates from the mintplex-labs repository. Additionally, implement strict property allowlisting and blocklisting to ensure that only authorized fields can be modified during the account creation process. Regularly review your API security practices! You've got this! Take these steps, and you'll have your systems secured in no time. 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00783 · 55.5th percentile
Weakness
CWE-915 · Improperly Controlled Modification of Dynamically-Determined Object Attributes
Published
2024-04-16T00:00Z
EPSS history
Timeline
  • 16 APR 00:00Z
    Mass Assignment Vulnerability in mintplex-labs/anything-llm
    cvelistv5