Skip to content

CVE-2024-53991 Potential Backup file leaked via Nginx in Discourse

MediumCVSS 5.9 EPSS 29.9% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Nginx

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. 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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse < 3.3.2; < 3.4.0; = 3.4.0-beta1; = 3.4.0-beta2 +4 more 3.3.2, 3.4.0 Fixed

Affected products

ProductAffected versionsFixed in
discourse = stable: <= 3.3.2 No fix listed
discourse = beta: <= 3.4.0.beta3 No fix listed
discourse = tests-passed: <= 3.4.0.beta3 No fix listed
discourse < 3.3.2 3.3.2
discourse < 3.4.0 3.4.0
discourse = 3.4.0-beta1 No fix listed
discourse = 3.4.0-beta2 No fix listed
discourse = 3.4.0-beta3 No fix listed

References