Security restrictions bypass in HashiCorp Consul



| Updated: 2023-08-28
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-40716
CWE-ID CWE-252
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Consul
Server applications / Other server solutions

Consul Enterprise
Server applications / Other server solutions

Vendor HashiCorp

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Unchecked Return Value

EUVDB-ID: #VU80034

Risk: Low

CVSSv3.1: 3.7 [CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-40716

CWE-ID: CWE-252 - Unchecked Return Value

Exploit availability: No

Description

The vulnerability allows a remote user to bypass implemented security restrictions.

The vulnerability exists due to an error when handling CSR requests at the RPC endpoint. A remote user with access to a client agent’s mTLS certificate and a valid ACL token for any service within the mesh can send a specially crafted certificate signing request (CSR) to the Consul’s internal RPC endpoint and bypass intended ACL token restrictions.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Consul: 1.11.0 - 1.13.1

Consul Enterprise: 1.11.0 - 1.13.1

CPE2.3 External links

http://discuss.hashicorp.com/t/hcsec-2022-20-consul-service-mesh-intention-bypass-with-malicious-certificate-signing-request/44628


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###