CVE-2022-21677 Group advanced search option may leak group and group's members visibility

Medium 4.3 Published Updated

Attackers can reveal restricted group and member visibility settings via advanced search, exposing private data in Discourse forums.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-21677?

CVE-2022-21677 is a medium-severity vulnerability in Discourse Discourse, published on 14 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Discourse is an open source discussion platform. Discourse groups can be configured with varying visibility levels for the group as well as the group members. By default, a newly created group has its visibility set to public and the group's members visibility set to public as well. However, a group's visibility and the group's members visibility can be configured such that it is restricted to logged on users, members of the group or staff users. A vulnerability has been discovered in versions prior to 2.7.13 and 2.8.0.beta11 where the group advanced search option does not respect the group's visibility and members visibility level. As such, a group with restricted visibility or members visibility can be revealed through search with the right search option. This issue is patched in `stable` version 2.7.13, `beta` version 2.8.0.beta11, and `tests-passed` version 2.8.0.beta11 versions of Discourse. There are no workarounds aside from upgrading.

Weakness: CWE-200

Which versions are affected by CVE-2022-21677?

1 open source package ship an affected version, including discourse. It affects 1 product.

PackageAffectedFixed in
discourse BitnamiAll versions to 2.7.12None

Products include Discourse Discourse.

How do I fix CVE-2022-21677?

No fix has been published for CVE-2022-21677 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-21677 being exploited?

There is no known exploitation of CVE-2022-21677 in the wild and no public exploit code.

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2022-21677, GHSA-768r-ppv4-5r27.

Is CVE-2022-21677 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free