CVE-2023-24999 Vault Fails to Verify if the AppRole SecretID Belongs to Role During a Destroy Operation
Authenticated users can destroy secret IDs of other roles in HashiCorp Vault due to missing authorization checks during destroy operations.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-24999?
CVE-2023-24999 is a medium-severity missing authorization vulnerability in Hashicorp Vault, published on 10 Mar 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
HashiCorp Vault and Vault Enterprise’s approle auth method allowed any authenticated user with access to an approle destroy endpoint to destroy the secret ID of any other role by providing the secret ID accessor. This vulnerability is fixed in Vault 1.13.0, 1.12.4, 1.11.8, 1.10.11 and above.
Weakness: CWE-863
Which versions are affected by CVE-2023-24999?
8 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/vault Go | All versions | 1.10.11, 1.11.8, 1.12.4 |
github.com/hashicorp/vault Go | All versions | 1.10.11 |
github.com/hashicorp/vault Go | All versions | 1.10.11 |
github.com/hashicorp/vault Go | From 1.11.0 | 1.11.8 |
github.com/hashicorp/vault Go | From 1.11.0 | 1.11.8 |
github.com/hashicorp/vault Go | From 1.12.0 | 1.12.4 |
2 more packages
github.com/hashicorp/vault Go | From 1.12.0 | 1.12.4 |
vault Bitnami | All versions | 1.10.11, 1.11.8, 1.12.4 |
Products include Hashicorp Vault.
How do I fix CVE-2023-24999?
Upgrade github.com/hashicorp/vault to a fixed version for your release line: 1.10.11, 1.11.8 or 1.12.4.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2023-24999 being exploited?
There is no known exploitation of CVE-2023-24999 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2023-24999, GHSA-wmg5-g953-qqfw, GO-2023-1900.