An arbitrary file overwrite vulnerability exists in the ZulipConnector of danswer-ai/danswer, affecting the latest version. The…
@huntr_ai·CWE-29·Published 2025-03-20
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.
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.
Existe una vulnerabilidad de sobrescritura de archivos arbitrarios en ZulipConnector de danswer-ai/danswer, que afecta a la última versión. La vulnerabilidad surge del método load_credentials, donde se utiliza la entrada controlada por el usuario para realm_name y zuliprc_content para construir rutas de archivos y escribir su contenido. Esto permite a los atacantes sobrescribir o crear archivos arbitrarios si ya existe un directorio zuliprc- en el directorio temporal.
| Version | Type | Source | Base | Exp | Impact | Vector |
|---|---|---|---|---|---|---|
| 3.0 | Primary | cve.org | 9.1 | — | — | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| 3.0 | Primary | cve.org | 9.1 | — | — | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| 3.0 | Secondary | NVD | 9.1 | 3.9 | 5.2 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |