Skip to content

Presence of read restricted topics may be leaked if tagged with a tag that is visible to all users

Moderate
jomaxro published GHSA-2wvr-4x7w-v795 Mar 17, 2023

Package

Discourse (Discourse)

Affected versions

stable <= 3.0.0; beta <= 3.1.0.beta1; tests-passed <= 3.1.0.beta1

Patched versions

stable > 3.0.0; beta > 3.1.0.beta1; tests-passed > 3.1.0.beta1

Description

Impact

Currently, the count of topics displayed for a tag is a count of all regular topics regardless of whether the topic is in a read restricted category or not. As a result, any users can technically poll a sensitive tag to determine if a new topic is created in a category which the user does not have excess to.

Patches

In the patched versions, the count of topics displayed for a tag defaults to only counting regular topics which are not in read restricted categories. Staff users will continue to see a count of all topics regardless of the topic's category read restrictions.

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

CVE ID

CVE-2023-23622

Weaknesses

No CWEs