Skip to main content
← All vulnerabilities
CVE-2024-7594GO-2024-3162BIT-OPENBAO-2024-7594BIT-VAULT-2024-7594GHSA-JG74-MWGW-V6X3

Vault SSH Secrets Engine Configuration Did Not Restrict Valid Principals By Default

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.17.6, 1.15.15, 0.0.0-20241003222810-d5b4e9224698
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Vault’s SSH secrets engine did not require the valid_principals list to contain a value by default. If the valid_principals and default_user fields of the SSH secrets engine configuration are not set, an SSH certificate requested by an authorized user to Vault’s SSH secrets engine could be used to authenticate as any user on the host. Fixed in Vault Community Edition 1.17.6, and in Vault Enterprise 1.17.6, 1.16.10, and 1.15.15.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • HashiCorp Vault

    From 1.7.7 · fixed in 1.17.6

  • HashiCorp Vault Enterprise

    From 1.7.7 · fixed in 1.15.15

  • github.com/hashicorp/vaultGo

    From 1.7.7 · fixed in 1.17.6

  • github.com/openbao/openbaoGo

    From 0.1.0

  • github.com/openbao/openbaoGo

    fixed in 0.0.0-20241003222810-d5b4e9224698

References 1

discuss.hashicorp.com