{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7037","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-07-23T17:48:28.192Z","datePublished":"2024-10-09T19:52:21.784Z","dateUpdated":"2024-10-10T14:57:57.866Z"},"containers":{"cna":{"title":"Arbitrary File Write/Delete Leading to RCE in open-webui/open-webui","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-10-09T19:52:21.784Z"},"descriptions":[{"lang":"en","value":"In version v0.3.8 of open-webui/open-webui, the endpoint /api/pipelines/upload is vulnerable to arbitrary file write and delete due to unsanitized file.filename concatenation with CACHE_DIR. This vulnerability allows attackers to overwrite and delete system files, potentially leading to remote code execution."}],"affected":[{"vendor":"open-webui","product":"open-webui/open-webui","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}]}],"references":[{"url":"https://huntr.com/bounties/8508db68-9c99-4b1c-828c-e1bfcacfb847"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","cweId":"CWE-22"}]}],"source":{"advisory":"8508db68-9c99-4b1c-828c-e1bfcacfb847","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"open-webui","product":"open-webui","cpes":["cpe:2.3:a:open-webui:open-webui:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0.3.8","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-10T14:57:19.055366Z","id":"CVE-2024-7037","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-10-10T14:57:57.866Z"}}]}}