Security restrictions bypass in HashiCorp Vault



Published: 2022-03-10 | Updated: 2022-08-04
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-25243
CWE-ID CWE-295
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Vault
Web applications / Modules and components for CMS

Vault Enterprise
Web applications / Modules and components for CMS

Vendor HashiCorp

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Certificate Validation

EUVDB-ID: #VU66117

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-25243

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: No

Description

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

The vulnerability exists due to software allows the PKI secrets engine under certain configurations to issue wildcard certificates to authorized users for a specified domain, even if the PKI role policy attribute allow_subdomains is set to false. A remote user can bypass implemented security restriction and issue wildcard certificates.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Vault: 1.9.0 - 1.9.3, 1.8.0 - 1.8.8

Vault Enterprise: 1.9.0 - 1.9.3, 1.8.0 - 1.8.8


CPE2.3 External links

http://discuss.hashicorp.com/t/hcsec-2022-09-vault-pki-secrets-engine-policy-results-in-incorrect-wildcard-certificate-issuance/36600

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###