CVE-2021-37693 Re-use of email tokens in Discourse

Medium 5.3 Published Updated

Attackers can reuse deleted email verification tokens to reset passwords and take over user accounts 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
Available

What is CVE-2021-37693?

CVE-2021-37693 is a medium-severity vulnerability in Discourse Discourse, published on 13 Aug 2021. 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 platform for community discussion. In Discourse before versions 2.7.8 and 2.8.0.beta4, when adding additional email addresses to an existing account on a Discourse site an email token is generated as part of the email verification process. Deleting the additional email address does not invalidate an unused token which can then be used in other contexts, including reseting a password.

Weakness: CWE-640, CWE-613

Which versions are affected by CVE-2021-37693?

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

PackageAffectedFixed in
discourse BitnamiAll versions2.7.8

Products include Discourse Discourse.

How do I fix CVE-2021-37693?

Upgrade discourse to 2.7.8 or later.

Is CVE-2021-37693 being exploited?

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

All Discourse Discourse vulnerabilities

Sources

Also known as BIT-discourse-2021-37693, GHSA-9377-96f4-cww4.

Is CVE-2021-37693 in your software?

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

Check your SBOMs for free