HashiCorp Vault Exposed Endpoints: How Simple Recon Led to a Paid
An unauthenticated HashiCorp Vault instance exposed system endpoints that returned metadata such as version, storage type, and cluster details. An attacker could use this information to target version-specific vulnerabilities and plan further attacks, though no secrets were leaked.
Published on medium.com
Not every bug bounty starts with a flashy exploit or a long chain of vulnerabilities. Sometimes, it starts with curiosity and a single HTTP request.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Vault system endpoints were configured to allow unauthenticated access, exposing operational metadata.
Impact
An attacker could use the exposed metadata to target version-specific CVEs, confirm the system is live, understand key management design, and plan attacks around backend infrastructure; no secrets were leaked.
What the attacker needed
Vault endpoints publicly reachable; No authentication required
The fix
The text does not state a specific fix, but the endpoints should be restricted so they are not publicly accessible without authentication.
How it was found
- During recon, identify a host that appears to be HashiCorp Vault.
- Send a request to the health endpoint and observe a JSON response.
- Test the init endpoint and confirm it also responds without authentication.
- Test the seal-status endpoint and confirm it also responds without authentication.
- Stop testing and analyse the exposed metadata.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
HashiCorp Vault is a tool for storing secrets like passwords and keys. Some of its status pages were left open to anyone on the internet, so a stranger could see details about how it was set up. That does not give away the secrets themselves, but it helps an attacker plan a more targeted attack.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.