// For flags

CVE-2022-21684

User can bypass approval when invited to Discourse

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Discourse es una plataforma de debate de código abierto. Las versiones anteriores a 2.7.13 en "stable", a la 2.8.0.beta11 en "beta" y a la 2.8.0.beta11 en "tests-passed" permiten a algunos usuarios iniciar sesión en una comunidad antes de lo que deberían. Un usuario invitado por medio de un correo electrónico a un foro con "must_approve_users" habilitado va a entrar automáticamente, omitiendo la comprobación que no permite a usuarios no aprobados entrar. Podrán hacer todo lo que un usuario aprobado puede hacer. Si cierran la sesión, no podrán volver a entrar. Este problema está parcheado en las versiones "stable" 2.7.13, "beta" 2.8.0.beta11 y "tests-passed" 2.8.0.beta11. Pueden deshabilitarse las invitaciones como solución. Los administradores pueden aumentar "min_trust_level_to_allow_invite" para reducir la superficie de ataque a los usuarios de mayor confianza

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Medium
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-11-16 CVE Reserved
  • 2022-01-13 CVE Published
  • 2023-09-04 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-287: Improper Authentication
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
< 2.7.13
Search vendor "Discourse" for product "Discourse" and version " < 2.7.13"
-
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta1
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta10
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta2
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta3
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta4
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta5
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta6
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta7
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta8
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
2.8.0
Search vendor "Discourse" for product "Discourse" and version "2.8.0"
beta9
Affected