8.8
HIGH CVSS 3.1
CVE-2021-41805
HashiCorp Consul Enterprise Authentication Bypass
Description

HashiCorp Consul Enterprise before 1.8.17, 1.9.x before 1.9.11, and 1.10.x before 1.10.4 has Incorrect Access Control. An ACL token (with the default operator:write permissions) in one namespace can be used for unintended privilege escalation in a different namespace.

INFO

Published Date :

Dec. 12, 2021, 5:15 a.m.

Last Modified :

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

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-41805 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 Hashicorp consul
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]
Solution
A vulnerability in HashiCorp Consul Enterprise allows for authentication bypass and privilege escalation.
  • Upgrade Consul Enterprise to version 1.8.17, 1.9.11, or 1.10.4 or later.
  • If an upgrade is not possible, review and restrict access control list (ACL) token permissions to prevent unauthorized access.
Public PoC/Exploit Available at Github

CVE-2021-41805 has a 2 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-2021-41805 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-2021-41805 weaknesses.

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).

A proof-of-concept for CVE-2021-41805 which is a vulnerability in HashiCorp Consul Enterprise allowing for Remote Code Execution (RCE) with escalated privileges.

Python

Updated: 7 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 7, 2025, 10:45 p.m. This repo has been linked 1 different CVEs too.

HashiCorp Consul exploit with python. (CVE-2021-41805)

Python

Updated: 2 years, 8 months ago
1 stars 1 fork 1 watcher
Born at : Dec. 7, 2022, 10:50 a.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-41805 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-41805 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://discuss.hashicorp.com/t/hcsec-2021-29-consul-enterprise-namespace-default-acls-allow-privilege-escalation/31871
    Added Reference https://security.netapp.com/advisory/ntap-20211229-0007/
    Added Reference https://www.hashicorp.com/blog/category/consul
  • CVE Modified by [email protected]

    May. 14, 2024

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

    Mar. 31, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20211229-0007/ No Types Assigned https://security.netapp.com/advisory/ntap-20211229-0007/ Third Party Advisory
  • CVE Modified by [email protected]

    Dec. 29, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20211229-0007/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/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://discuss.hashicorp.com/t/hcsec-2021-29-consul-enterprise-namespace-default-acls-allow-privilege-escalation/31871 No Types Assigned https://discuss.hashicorp.com/t/hcsec-2021-29-consul-enterprise-namespace-default-acls-allow-privilege-escalation/31871 Vendor Advisory
    Changed Reference Type https://www.hashicorp.com/blog/category/consul No Types Assigned https://www.hashicorp.com/blog/category/consul Product, Vendor Advisory
    Added CWE NIST CWE-863
    Added CPE Configuration OR *cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* versions from (including) 1.7.0 up to (excluding) 1.8.17 *cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* versions from (including) 1.9.0 up to (excluding) 1.9.11 *cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* versions from (including) 1.10.0 up to (excluding) 1.10.4
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.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.

6.56 }} -0.24%

score

0.90751

percentile