7.5
HIGH CVSS 3.1
CVE-2021-3138
Discourse Two-Factor Authentication Bypass Vulnerability
Description

In Discourse 2.7.0 through beta1, a rate-limit bypass leads to a bypass of the 2FA requirement for certain forms.

INFO

Published Date :

Jan. 14, 2021, 4:15 a.m.

Last Modified :

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

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-3138 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 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2021-3138 has a 7 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-2021-3138.

URL Resource
http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html Exploit Third Party Advisory VDB Entry
https://github.com/Mesh3l911/Disource Third Party Advisory
https://github.com/discourse/discourse/releases Release Notes Third Party Advisory
http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html Exploit Third Party Advisory VDB Entry
https://github.com/Mesh3l911/Disource Third Party Advisory
https://github.com/discourse/discourse/releases Release Notes Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-3138 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).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 3 months ago
12 stars 3 fork 3 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 931 different CVEs too.

None

Updated: 2 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 935 different CVEs too.

None

Updated: 2 years, 5 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 928 different CVEs too.

None

Updated: 1 year, 6 months ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

None

Updated: 3 months, 2 weeks ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 935 different CVEs too.

None

Updated: 5 months ago
9 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 944 different CVEs too.

Discource POC

Python

Updated: 4 years, 4 months ago
1 stars 0 fork 0 watcher
Born at : Jan. 12, 2021, 10:50 p.m. This repo has been linked 1 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-2021-3138 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-3138 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 http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html
    Added Reference https://github.com/discourse/discourse/releases
    Added Reference https://github.com/Mesh3l911/Disource
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jan. 04, 2022

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html No Types Assigned http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html Exploit, Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Apr. 21, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/162256/Discourse-2.7.0-2FA-Bypass.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 23, 2021

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 05, 2021

    Action Type Old Value New Value
    Removed Reference https://blog.discourse.org/ [Vendor Advisory]
  • Initial Analysis by [email protected]

    Jan. 21, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://blog.discourse.org/ No Types Assigned https://blog.discourse.org/ Vendor Advisory
    Changed Reference Type https://github.com/discourse/discourse/releases No Types Assigned https://github.com/discourse/discourse/releases Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/Mesh3l911/Disource No Types Assigned https://github.com/Mesh3l911/Disource Third Party Advisory
    Added CWE NIST CWE-307
    Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions up to (including) 2.6.0 *cpe:2.3:a:discourse:discourse:2.7.0:beta1:*:*:*:*:*:*
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: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
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.

3.03 }} -0.87%

score

0.86124

percentile