Vulnerability · Published Mar 17, 2023 · Assigned by GitHub_M
CVE-2023-23622Discourse: Presence of read restricted topics may be leaked if tagged with a tag that is visible to all users
Medium 4.3
In plain English
A medium-severity information exposure in discourse from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Official description
Discourse is an open-source discussion platform. Prior to version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, 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. In version 3.0.1 of the `stable` branch and version 3.1.0.beta2 of the `beta` and `tests-passed` branches, 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.
Affected products (as reported)
Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
References
- https://github.com/discourse/discourse/security/advisories/GHSA-2wvr-4x7w-v795 x_refsource_CONFIRM
- https://github.com/discourse/discourse/pull/20004 x_refsource_MISC
- https://github.com/discourse/discourse/pull/20005 x_refsource_MISC
- https://github.com/discourse/discourse/commit/105fee978d73b0ec23ff814a09d1c0c9ace95164 x_refsource_MISC
- https://github.com/discourse/discourse/commit/ecb9aa5dba94741d9579f4f873f0675f48b4184f x_refsource_MISC