In mintplex-labs/anything-llm, an attacker can exploit...
Critical severity
Unreviewed
Published
Apr 16, 2024
to the GitHub Advisory Database
•
Updated Apr 16, 2024
Description
Published by the National Vulnerability Database
Apr 16, 2024
Published to the GitHub Advisory Database
Apr 16, 2024
Last updated
Apr 16, 2024
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