CVE-2022-21684
Summary
| CVE | CVE-2022-21684 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-13 21:15:00 UTC |
| Updated | 2023-07-24 13:54:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-287
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Discourse | Discourse | All | All | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta1 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta10 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta2 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta3 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta4 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta5 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta6 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta7 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta8 | All | All |
| Application | Discourse | Discourse | 2.8.0 | beta9 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Bypass user approval when invited · Advisory · discourse/discourse · GitHub | CONFIRM | github.com | |
| SECURITY: Do not sign in unapproved users (#15552) · discourse/discourse@584c6a2 · GitHub | MISC | github.com | |
| Invite redemption allowed user to access forum BEFORE approval - bug - Discourse Meta | MISC | meta.discourse.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.