{"id":"CVE-2024-3028","state":"PUBLISHED","title":"Improper Input Validation in mintplex-labs/anything-llm","description":"mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.","publishedAt":"2024-04-16T00:00:14.083Z","updatedAt":"2024-09-06T17:55:53.545Z","severity":{"score":7.2,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","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/41016b86-eabb-4161-ac81-40a1ca8e82ac","https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981784d3702cf5ce"],"weaknesses":["CWE-20"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/3xxx/CVE-2024-3028.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-3028","state":"PUBLISHED","datePublished":"2024-04-16T00:00:14.083Z","dateUpdated":"2024-09-06T17:55:53.545Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-03-27T19:07:34.622Z"},"containers":{"cna":{"title":"Improper Input Validation in mintplex-labs/anything-llm","descriptions":[{"lang":"en","value":"mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input."}],"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/41016b86-eabb-4161-ac81-40a1ca8e82ac"},{"url":"https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981784d3702cf5ce"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","baseScore":7.2,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","type":"CWE","lang":"en","description":"CWE-20 Improper Input Validation"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-04-16T11:10:37.293Z"},"source":{"advisory":"41016b86-eabb-4161-ac81-40a1ca8e82ac","discovery":"EXTERNAL"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/41016b86-eabb-4161-ac81-40a1ca8e82ac","tags":["x_transferred"]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981784d3702cf5ce","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:32:42.699Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mintplexlabs","product":"anythingllm","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.0","versionType":"custom"}],"cpes":["cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-07T19:15:04.156412Z","id":"CVE-2024-3028","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-06T17:55:53.545Z"}}]}}}