8.8
HIGH
CVE-2022-21684
Discourse Pre-Approval User Self-Login Vulnerability
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.

INFO

Published Date :

Jan. 13, 2022, 9:15 p.m.

Last Modified :

July 24, 2023, 1:54 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2022-21684 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-21684 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Discourse discourse
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-21684.

URL Resource
https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2 Patch Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh Patch Third Party Advisory
https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328 Issue Tracking Patch Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC

cve-2020-

Updated: 1 year, 10 months ago
5 stars 2 fork 2 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2608 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-21684 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-21684 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jul. 24, 2023

    Action Type Old Value New Value
    Removed CWE NIST CWE-863
    Added CWE NIST CWE-287
  • Initial Analysis by [email protected]

    Jan. 24, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2 No Types Assigned https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh Patch, Third Party Advisory
    Changed Reference Type https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328 No Types Assigned https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328 Issue Tracking, Patch, Vendor Advisory
    Added CWE NIST CWE-863
    Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.13 *cpe:2.3:a:discourse:discourse:2.8.0:beta1:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta10:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta2:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta3:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta4:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta5:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta6:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta7:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta8:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.8.0:beta9:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-21684 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.22 }} 0.03%

score

0.59875

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability