CVE-2022-31096 Auth bypass in discourse

Medium 5.7 Published Updated

Logged-in users can bypass email restrictions on invites to join restricted groups, gaining unauthorized access to private content.

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

What is CVE-2022-31096?

CVE-2022-31096 is a medium-severity authentication bypass vulnerability in Discourse Discourse, published on 27 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Discourse is an open source discussion platform. Under certain conditions, a logged in user can redeem an invite with an email that either doesn't match the invite's email or does not adhere to the email domain restriction of an invite link. The impact of this flaw is aggravated when the invite has been configured to add the user that accepts the invite into restricted groups. Once a user has been incorrectly added to a restricted group, the user may then be able to view content which that are restricted to the respective group. Users are advised to upgrade to the current stable releases. There are no known workarounds to this issue.

Weakness: CWE-281

Which versions are affected by CVE-2022-31096?

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

PackageAffectedFixed in
discourse BitnamiAll versions to 2.8.4None

Products include Discourse Discourse.

How do I fix CVE-2022-31096?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2022-31096 being exploited?

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

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2022-31096, GHSA-rvp8-459h-282r.

Is CVE-2022-31096 in your software?

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

Check your SBOMs for free