CVE-2024-53991

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

SeverityHigh
CVSS7.5
Exploit probability—
ProductDiscourse
PublishedDec 19, 2024
First seenDec 19, 2024

How to fix

Update
  • discourse discourse3.3.2, 3.4.0 or later

Affected products

ProductAffected versionsFixed in
discourse discoursev < 3.3.2, v < 3.4.0, 3.4.03.3.2, 3.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.