CVE-2023-3462 Vault's LDAP Auth Method Allows for User Enumeration

Medium 5.3 Published Updated

Attackers can enumerate valid LDAP users via Vault's LDAP auth method, exposing user account existence information.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3462?

CVE-2023-3462 is a medium-severity vulnerability in Hashicorp Vault, published on 31 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

HashiCorp's Vault and Vault Enterprise are vulnerable to user enumeration when using the LDAP auth method. An attacker may submit requests of existent and non-existent LDAP users and observe the response from Vault to check if the account is valid on the LDAP server. This vulnerability is fixed in Vault 1.14.1 and 1.13.5.

Weakness: CWE-203

Which versions are affected by CVE-2023-3462?

6 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/vault GoAll versions1.13.5, 1.14.1
github.com/hashicorp/vault GoAll versions1.13.5
github.com/hashicorp/vault GoAll versions1.13.5
github.com/hashicorp/vault GoFrom 1.14.01.14.1
github.com/hashicorp/vault GoFrom 1.14.01.14.1
vault BitnamiFrom 1.13.01.13.5, 1.14.1

Products include Hashicorp Vault.

How do I fix CVE-2023-3462?

Upgrade github.com/hashicorp/vault to a fixed version for your release line: 1.13.5 or 1.14.1.

Is CVE-2023-3462 being exploited?

There is no known exploitation of CVE-2023-3462 in the wild and no public exploit code.

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2023-3462, GHSA-9v3w-w2jh-4hff, GO-2023-1986.

Is CVE-2023-3462 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free