5.3
MEDIUM
CVE-2022-31025
Discourse Unvalidated Invites Heap-Based Buffer Overwrite
Description

Discourse is an open source platform for community discussion. Prior to version 2.8.4 on the `stable` branch and 2.9.0beta5 on the `beta` and `tests-passed` branches, inviting users on sites that use single sign-on could bypass the `must_approve_users` check and invites by staff are always approved automatically. The issue is patched in Discourse version 2.8.4 on the `stable` branch and version `2.9.0.beta5` on the `beta` and `tests-passed` branches. As a workaround, disable invites or increase `min_trust_level_to_allow_invite` to reduce the attack surface to more trusted users.

INFO

Published Date :

June 7, 2022, 3:15 p.m.

Last Modified :

July 21, 2023, 5:09 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2022-31025 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-31025.

URL Resource
https://github.com/discourse/discourse/commit/0fa0094531efc82d9371f90a02aa804b176d59cf Patch Third Party Advisory
https://github.com/discourse/discourse/commit/7c4e2d33fa4b922354c177ffc880a2f2701a91f9 Patch Third Party Advisory
https://github.com/discourse/discourse/pull/16974 Patch Third Party Advisory
https://github.com/discourse/discourse/pull/16984 Patch Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-x7jh-mx5q-6f9q Third Party 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).

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-31025 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-31025 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. 21, 2023

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

    Jun. 14, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    Changed Reference Type https://github.com/discourse/discourse/commit/0fa0094531efc82d9371f90a02aa804b176d59cf No Types Assigned https://github.com/discourse/discourse/commit/0fa0094531efc82d9371f90a02aa804b176d59cf Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/commit/7c4e2d33fa4b922354c177ffc880a2f2701a91f9 No Types Assigned https://github.com/discourse/discourse/commit/7c4e2d33fa4b922354c177ffc880a2f2701a91f9 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/pull/16974 No Types Assigned https://github.com/discourse/discourse/pull/16974 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/pull/16984 No Types Assigned https://github.com/discourse/discourse/pull/16984 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-x7jh-mx5q-6f9q No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-x7jh-mx5q-6f9q Third Party Advisory
    Added CWE NIST CWE-863
    Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions up to (excluding) 2.8.4 *cpe:2.3:a:discourse:discourse:2.9.0:beta1:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta2:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta3:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta4:*:*:*:*:*:*
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-31025 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-31025 weaknesses.

Exploit Prediction

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

0.09 }} -0.00%

score

0.37866

percentile

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