Paper/Archive/CVE-2024-7957

CVE-2024-7957

danswer-ai danswer-ai/danswer — Arbitrary File Overwrite in danswer-ai/danswer

Description · from the CVE record

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

ProductAffectedFixed inSource
danswer-ai/danswerunspecified – latest–CNA

Scores by source

@huntr_ai (CNA)9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

refhuntr.com/bounties/21e9b909-036c-4544-ad35-6a5117836275