CVE-2024-3029
CVE-2024-3029
8.0
HighPublished:
Last updated:
Source:security@huntr.dev
Analyzed
Weakness (CWE)
CVSS Vector
v3.1- Attack Vector
- Network
- Attack Complexity
- Low
- Privileges Required
- Low
- User Interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Description
In mintplex-labs/anything-llm, an attacker can exploit improper input validation by sending a malformed JSON payload to the '/system/enable-multi-user' endpoint. This triggers an error that is caught by a catch block, which in turn deletes all users and disables the 'multi_user_mode'. The vulnerability allows an attacker to remove all existing users and potentially create a new admin user without requiring a password, leading to unauthorized access and control over the application.
References
security@huntr.dev
https://github.com/mintplex-labs/anything-llm/commit/99cfee1e7025fe9a0919a4d506ba1e1b819f6073security@huntr.dev
https://huntr.com/bounties/7189a7a0-9830-459d-b853-bdc2559999a0af854a3a-2127-422b-91ae-364da2661108
https://github.com/mintplex-labs/anything-llm/commit/99cfee1e7025fe9a0919a4d506ba1e1b819f6073af854a3a-2127-422b-91ae-364da2661108
https://huntr.com/bounties/7189a7a0-9830-459d-b853-bdc2559999a0