{"id":"CVE-2024-7957","state":"PUBLISHED","title":"Arbitrary File Overwrite in danswer-ai/danswer","description":"An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The vulnerability arises from the load_credentials method, where user-controlled input for realm_name and zuliprc_content is used to construct file paths and write file contents. This allows attackers to overwrite or create arbitrary files if a zuliprc- directory already exists in the temporary directory.","publishedAt":"2025-03-20T10:10:21.850Z","updatedAt":"2025-03-20T18:22:39.123Z","severity":{"score":9.1,"label":"Critical","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["danswer-ai danswer-ai/danswer"],"affected":[{"vendor":"danswer-ai","product":"danswer-ai/danswer","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":["https://huntr.com/bounties/21e9b909-036c-4544-ad35-6a5117836275"],"weaknesses":["CWE-29"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7957.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7957","state":"PUBLISHED","datePublished":"2025-03-20T10:10:21.850Z","dateUpdated":"2025-03-20T18:22:39.123Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-08-19T18:38:45.193Z"},"containers":{"cna":{"title":"Arbitrary File Overwrite in danswer-ai/danswer","descriptions":[{"lang":"en","value":"An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The vulnerability arises from the load_credentials method, where user-controlled input for realm_name and zuliprc_content is used to construct file paths and write file contents. This allows attackers to overwrite or create arbitrary files if a zuliprc- directory already exists in the temporary directory."}],"affected":[{"vendor":"danswer-ai","product":"danswer-ai/danswer","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"latest","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/21e9b909-036c-4544-ad35-6a5117836275"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-29","type":"CWE","lang":"en","description":"CWE-29 Path Traversal: '\\..\\filename'"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-03-20T10:10:21.850Z"},"source":{"advisory":"21e9b909-036c-4544-ad35-6a5117836275","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-20T17:51:42.534291Z","id":"CVE-2024-7957","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-20T18:22:39.123Z"}}]}}}