Skip to main content
← All vulnerabilities
CVE-2024-53991

Potential Backup file leaked via Nginx in Discourse

Published
Last modified
published
Not listed in CISA KEV
1 Nuclei template
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. Users unable to upgrade can either 1. Download all local backups on to another storage device, disable the `enable_backups` site setting and delete all backups until the site has been upgraded to pull in the fix. Or 2. Change the `backup_location` site setting to `s3` so that backups are stored and downloaded directly from S3.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • discourse discourse

    stable: <= 3.3.2, beta: <= 3.4.0.beta3, tests-passed: <= 3.4.0.beta3

References 2

GitHub · discourse/discourse

GitHub · projectdiscovery/nuclei-templates