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.
{
"cna_assigner": "@huntr_ai",
"cwe_ids": [
"CWE-20"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3029.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "99cfee1e7025fe9a0919a4d506ba1e1b819f6073"
}
],
"source": "REFERENCES_COMMIT"
}
]
}