First published: Thu Jan 13 2022(Updated: )
Discourse is an open source discussion platform. Versions prior to 2.7.13 in `stable`, 2.8.0.beta11 in `beta`, and 2.8.0.beta11 in `tests-passed` allow some users to log in to a community before they should be able to do so. A user invited via email to a forum with `must_approve_users` enabled is going to be automatically logged in, bypassing the check that does not allow unapproved users to sign in. They will be able to do everything an approved user can do. If they logout, they cannot log back in. This issue is patched in the `stable` version 2.7.13, `beta` version 2.8.0.beta11, and `tests-passed` version 2.8.0.beta11. One may disable invites as a workaround. Administrators can increase `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Discourse | <2.7.13 | |
Discourse | =2.8.0-beta1 | |
Discourse | =2.8.0-beta10 | |
Discourse | =2.8.0-beta2 | |
Discourse | =2.8.0-beta3 | |
Discourse | =2.8.0-beta4 | |
Discourse | =2.8.0-beta5 | |
Discourse | =2.8.0-beta6 | |
Discourse | =2.8.0-beta7 | |
Discourse | =2.8.0-beta8 | |
Discourse | =2.8.0-beta9 |
https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-21684 has a medium severity rating due to improper user approval flow.
To fix CVE-2022-21684, update Discourse to version 2.7.13 or later in the stable branch and 2.8.0-beta11 or later in the beta branches.
CVE-2022-21684 affects Discourse versions prior to 2.7.13 in stable, and all beta versions before 2.8.0-beta11.
CVE-2022-21684 is a vulnerability that allows certain users to log in to the forum before they have been approved.
Anyone who is invited via email to the forum with user approval requirements may be impacted by CVE-2022-21684.