8.8
HIGH CVSS 3.1
CVE-2022-21684
User can bypass approval when invited to Discourse
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 :

Nov. 21, 2024, 6:45 a.m.

Remotely Exploit :

Yes !
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
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
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.

References to Advisories, Solutions, and Tools
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:

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: 8 months, 2 weeks ago
5 stars 3 fork 3 watcher
Born at : Jan. 21, 2022, 5:07 a.m. This repo has been linked 2650 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/discourse/discourse/commit/584c6a2e8bc705072b09a9c4b55126d6f8ed4ad2
    Added Reference https://github.com/discourse/discourse/security/advisories/GHSA-p63q-jp48-h8xh
    Added Reference https://meta.discourse.org/t/invite-redemption-allowed-user-to-access-forum-before-approval/214328
  • 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.
Vulnerability Scoring Details
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

0.13 }} -0.05%

score

0.33112

percentile