Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-7957— Arbitrary File Overwrite in danswer-ai/danswer

Quick assessment

Affected
danswer-ai danswer-ai/danswer
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Danswer是Danswer AI开源的一个连接到公司文档、应用程序和人员的人工智能助手。 Danswer存在安全漏洞,该漏洞源于任意文件覆盖,可能导致文件系统被篡改。

AI Predicted 7.8 Difficulty: Easy EPSS 0.93% · P59
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-7957

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Arbitrary File Overwrite in danswer-ai/danswer
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
路径遍历:’..filename’
Source: CVE Program / CVE List V5
Vulnerability Title
Danswer 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Danswer是Danswer AI开源的一个连接到公司文档、应用程序和人员的人工智能助手。 Danswer存在安全漏洞,该漏洞源于任意文件覆盖,可能导致文件系统被篡改。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
danswer-ai danswer-ai/danswer unspecified ~ latest -

II. Public POCs for CVE-2024-7957

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-7957

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-7957 (1)

Same Patch Batch · danswer-ai · 2025-03-20 · 10 CVEs total

CVE-2025-0182 Denial of Service in danswer-ai/danswer
CVE-2024-7819 CORS Misconfiguration in danswer-ai/danswer
CVE-2024-7779 ReDoS (Regular Expression Denial of Service) in danswer-ai/danswer
CVE-2024-7767 Improper Access Control in danswer-ai/danswer
CVE-2024-8028 Denial of Service in danswer-ai/danswer
CVE-2024-8057 Improper Access Control in danswer-ai/danswer
CVE-2024-8065 CSRF in danswer-ai/danswer
CVE-2024-9612 Unauthorized Access in danswer-ai/danswer
CVE-2024-9617 IDOR in danswer-ai/danswer

IV. Related Vulnerabilities

V. Comments for CVE-2024-7957

No comments yet


Leave a comment