CVE-2024-0798

A privilege escalation vulnerability exists in mintplex-labs/anything-llm, allowing users with 'default' role to delete documents uploaded by 'admin'. Despite the intended restriction that prevents 'default' role users from deleting admin-uploaded documents, an attacker can exploit this vulnerability by sending a crafted DELETE request to the /api/system/remove-document endpoint. This vulnerability is due to improper access control checks, enabling unauthorized document deletion and potentially leading to loss of data integrity.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mintplexlabs:anythingllm:-:*:*:*:*:*:*:*

History

27 Feb 2025, 03:05

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 8.1
v2 : unknown
v3 : 6.5
First Time Mintplexlabs anythingllm
Mintplexlabs
CWE NVD-CWE-noinfo
CPE cpe:2.3:a:mintplexlabs:anythingllm:-:*:*:*:*:*:*:*
References () https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733 - () https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733 - Patch
References () https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c - () https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c - Exploit

21 Nov 2024, 08:47

Type Values Removed Values Added
References () https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733 - () https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733 -
References () https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c - () https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c -

16 Apr 2024, 12:15

Type Values Removed Values Added
Summary
  • (es) Un usuario con un rol "predeterminado" que le haya asignado el administrador puede enviar solicitudes HTTP "ELIMINAR" a "eliminar carpeta" y "eliminar documento" para eliminar carpetas y archivos fuente de la instancia, incluso cuando su rol no debería permitir explícitamente esta acción en el sistema.
Summary (en) A user with a `default` role given to them by the admin can sent `DELETE` HTTP requests to `remove-folder` and `remove-document` to delete folders and source files from the instance even when their role should explicitly not allow this action on the system. (en) A privilege escalation vulnerability exists in mintplex-labs/anything-llm, allowing users with 'default' role to delete documents uploaded by 'admin'. Despite the intended restriction that prevents 'default' role users from deleting admin-uploaded documents, an attacker can exploit this vulnerability by sending a crafted DELETE request to the /api/system/remove-document endpoint. This vulnerability is due to improper access control checks, enabling unauthorized document deletion and potentially leading to loss of data integrity.

26 Feb 2024, 16:32

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-26 16:27

Updated : 2025-02-27 03:05


NVD link : CVE-2024-0798

Mitre link : CVE-2024-0798

CVE.ORG link : CVE-2024-0798


JSON object : View

Products Affected

mintplexlabs

  • anythingllm
CWE
CWE-272

Least Privilege Violation

NVD-CWE-noinfo