{"id":"CVE-2024-0798","state":"PUBLISHED","title":"Privilege Escalation in mintplex-labs/anything-llm","description":"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.","publishedAt":"2024-02-25T16:42:19.494Z","updatedAt":"2024-08-27T20:43:58.659Z","severity":{"score":8.1,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["mintplex-labs mintplex-labs/anything-llm"],"affected":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[{"version":"unspecified","status":"affected","lessThan":"1.0.0","versionType":"custom"}]}],"references":["https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c","https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733"],"weaknesses":["CWE-272"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/0xxx/CVE-2024-0798.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-0798","state":"PUBLISHED","datePublished":"2024-02-25T16:42:19.494Z","dateUpdated":"2024-08-27T20:43:58.659Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-01-22T22:29:07.144Z"},"containers":{"cna":{"title":"Privilege Escalation in mintplex-labs/anything-llm","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[{"version":"unspecified","status":"affected","lessThan":"1.0.0","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c"},{"url":"https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-272","type":"CWE","lang":"en","description":"CWE-272 Least Privilege Violation"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-04-16T11:10:42.092Z"},"source":{"advisory":"607f03a0-ab4d-4905-b253-3d28bbbd363c","discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/607f03a0-ab4d-4905-b253-3d28bbbd363c","tags":["x_transferred"]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/d5cde8b7c27a47ab45b05b441db16751537f1733","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T18:18:18.817Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mintplexlabs","product":"anythingllm","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.0.0","versionType":"custom"}],"cpes":["cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-27T20:41:29.411072Z","id":"CVE-2024-0798","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-27T20:43:58.659Z"}}]}}}