CVE-2021-37693 Re-use of email tokens in Discourse
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.
Which versions are affected by CVE-2021-37693?
1 open source package ship an affected version, including discourse. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
discourse Bitnami | All versions | 2.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.
Other vulnerabilities in Discourse Discourse
- CVE-2021-41163 RCE via malicious SNS subscription payload
- CVE-2022-36066 Discourse vulnerable to RCE via admins uploading maliciously zipped file
- CVE-2022-39356 Discourse user account takeover via email and invite link
- CVE-2023-22468 Discourse vulnerable to Cross-site Scripting in local oneboxes
- CVE-2026-27934 Discourse leaks private topic title and post excerpt via user action API endpoint
Sources
Also known as BIT-discourse-2021-37693, GHSA-9377-96f4-cww4.