{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5616","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-06-04T02:49:35.920Z","datePublished":"2024-07-06T08:38:02.339Z","dateUpdated":"2024-08-01T21:18:06.438Z"},"containers":{"cna":{"title":"CSRF Vulnerability in mudler/LocalAI","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-07-06T08:38:02.339Z"},"descriptions":[{"lang":"en","value":"A Cross-Site Request Forgery (CSRF) vulnerability exists in mudler/LocalAI versions up to and including 2.15.0, which allows attackers to trick victims into deleting installed models. By crafting a malicious HTML page, an attacker can cause the deletion of a model, such as 'gpt-4-vision-preview', without the victim's consent. The vulnerability is due to insufficient CSRF protection mechanisms on the model deletion functionality."}],"affected":[{"vendor":"mudler","product":"mudler/localai","versions":[{"version":"unspecified","lessThan":"2.17","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af"},{"url":"https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","baseScore":4.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-352 Cross-Site Request Forgery (CSRF)","cweId":"CWE-352"}]}],"source":{"advisory":"fd753fb6-ba04-4dd8-abef-918fb97120af","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"mudler","product":"localai","cpes":["cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"2.17","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-22T17:54:12.569883Z","id":"CVE-2024-5616","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-22T17:56:07.120Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T21:18:06.438Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/fd753fb6-ba04-4dd8-abef-918fb97120af","tags":["x_transferred"]},{"url":"https://github.com/mudler/localai/commit/4e1463fec291612a59a16db60b3fd12d4c49d64b","tags":["x_transferred"]}]}]}}