Cyber Resilience

CVE-2024-53991

High

Published: 19 December 2024

Published
19 December 2024
Modified
26 August 2025
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.5312 98.0th percentile
Risk Priority 47 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-53991 is a high-severity Exposure of Sensitive Information to an Unauthorized Actor (CWE-200) vulnerability in Discourse Discourse. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked in the top 2.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

Discourse, an open source discussion platform, contains an information disclosure vulnerability that affects only instances configured with FileStore::LocalStore for local disk storage of uploads and backups. The flaw allows an unauthenticated remote attacker who knows the name of a backup file to craft a request that causes nginx to serve the file, exposing its contents. The issue carries a CVSS 3.1 score of 7.5 and is tracked under CWE-200.

An attacker can exploit the weakness over the network without authentication or user interaction to retrieve sensitive backup archives, resulting in high-impact confidentiality loss while integrity and availability remain unaffected. Because the attack requires knowledge of the backup filename, the practical risk depends on whether that name can be guessed or discovered through other means.

The GitHub Security Advisory GHSA-567m-82f6-56rv states that the vulnerability is fixed in the latest stable, beta, and tests-passed releases of Discourse. Administrators unable to upgrade immediately are advised either to download all local backups to another location, disable the enable_backups setting, and delete existing backups, or to change the backup_location setting to s3 so that backups are stored and served directly from S3. The EPSS score stands at 0.5312 with no material increase reported after disclosure.

EU & UK References

Vulnerability details

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,…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
Why these techniques?

The vulnerability enables remote, unauthenticated access to sensitive local backup files (containing database dumps with user data and credentials) via crafted nginx HTTP requests, facilitating exploitation of public-facing web applications, collection of data from the local system, and access to unsecured credentials in files.

Affected Assets

discourse
discourse
3.4.0 · ≤ 3.3.2 · ≤ 3.4.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-200

Automated marking applies security attributes to system outputs, making it harder for attackers to exploit unmarked sensitive information leading to unauthorized exposure.

addresses: CWE-200

Proper attribute retention and permitted-value enforcement limits unauthorized actors from accessing sensitive information lacking correct labels.

addresses: CWE-200

Prevents unauthorized exposure of sensitive information by prohibiting untrusted external systems from processing or storing it.

addresses: CWE-200

By enforcing authorization matching prior to sharing, the control reduces the risk of exposing sensitive information to unauthorized actors.

addresses: CWE-200

Review and removal of nonpublic information from publicly accessible systems directly prevents exposure of sensitive data to unauthorized actors.

addresses: CWE-200

Data mining protection mechanisms detect and block unauthorized bulk extraction of sensitive data, directly mitigating exposure to unauthorized actors.

addresses: CWE-200

Literacy training teaches users to recognize and avoid actions that result in unauthorized exposure of sensitive information.

addresses: CWE-200

Retaining and monitoring training records confirms personnel have completed privacy and security awareness training on handling sensitive data, reducing the chance of unauthorized exposure due to lack of knowledge.

References