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.
Source :
[email protected]
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.
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-
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:*:*:*:*:*:*
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:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-21684
weaknesses.
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