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

Published Dec 19, 2024
·
Updated

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 enablebackups site setting and delete all backups until the site has been upgraded to pull in the fix. Or 2. Change the backuplocation site setting to s3 so that backups are stored and downloaded directly from S3.

Affected Software

6 affected components
Discourse Discourse<latest stable, beta and tests-passed
Discourse Discourse<3.3.2
Discourse Discourse<3.4.0
Discourse Discourse=3.4.0-beta1
Discourse Discourse=3.4.0-beta2
Discourse Discourse=3.4.0-beta3

Event History

Dec 19, 2024
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-53991?

CVE-2024-53991 has been rated as a moderate severity vulnerability that can lead to sensitive data exposure.

2

How do I fix CVE-2024-53991?

To fix CVE-2024-53991, reconfigure your Discourse instance to use an alternative storage backend instead of FileStore::LocalStore.

3

Which versions of Discourse are affected by CVE-2024-53991?

CVE-2024-53991 affects all versions of Discourse configured to use FileStore::LocalStore on stable, beta, and tests-passed versions.

4

What types of systems are vulnerable to CVE-2024-53991?

Systems that utilize Discourse with local disk storage for uploads and backups are vulnerable to CVE-2024-53991.

5

What are the potential impacts of CVE-2024-53991?

The potential impacts of CVE-2024-53991 include unauthorized access to backup files which may contain sensitive data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203