Arbitrary-user SSH access via empty principals
Published Sep 26, 2024 · Updated Jan 10, 2025
Authentication bypass in HashiCorp Vault allows remote authenticated users to access SSH hosts as any user through crafted certificates. The SSH secrets engine signs a certificate with an empty valid-principals list when neither valid_principals nor default_user is set, making it valid for every principal. The attacker needs certificate-signing permission and a host that trusts the Vault SSH CA; successful use grants the target account's SSH access.
Summary
What happened
Authentication bypass in HashiCorp Vault allows remote authenticated users to access SSH hosts as any user through crafted certificates. The SSH secrets engine signs a certificate with an empty valid-principals list when neither valid_principals nor default_user is set, making it valid for every principal. The attacker needs certificate-signing permission and a host that trusts the Vault SSH CA; successful use grants the target account's SSH access.
The record
- CVE
- CVE-2024-7594
- Published
- Sep 26, 2024
- Updated
- Jan 10, 2025
- Vendor
- HashiCorp
- Product
- Vault
- Classifications
- CWE-732, T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 26, 2024CVE publishedPublication date reported by the CVE source.
- Jan 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.7.7 <1.17.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo