ElasticSearch Smash & Grab
An exposed ElasticSearch/OpenSearch instance allowed unauthenticated access to its indices and data. An attacker could query and dump potentially sensitive information.
Published on hogarth45.medium.com
Jess
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 ElasticSearch instance was misconfigured to allow unauthenticated access.
Impact
An attacker could access and extract potentially sensitive data from the exposed ElasticSearch instance.
What the attacker needed
Publicly accessible ElasticSearch instance; No authentication required
How it was found
- Find a subdomain that returns a default ElasticSearch page.
- Use the /_cat/indices?v endpoint to list all indices.
- Use the /_all/_search?q=email endpoint to search all data for email addresses.
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.
ElasticSearch is a database often used for searching. If it is left open without a password, anyone can read all its data. Here, the author found such an open instance and could list and search its contents.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.