️ Information Disclosure Vulnerability: Exposing API Keys and T
An endpoint exposed API keys and tokens directly on a web page. An attacker could use these keys to gain unauthorised access to critical resources on the platform.
Published on medium.com
I’m Abhijeet Kumawat, a passionate security researcher 🕵️♂️, and today, I’m excited to share a recent vulnerability I discovered in a private program related to Information Disclosure or Sensitive Data Exposure. In this blog post, I’ll walk you through the entire process I used to uncover exposed API keys and tokens.
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 endpoint rendered sensitive credentials in its response without any access control or redaction.
Impact
The exposed keys could have led to unauthorised access to critical resources on the target platform.
What the attacker needed
Access to the exposed endpoint
How it was found
- Enumerate subdomains using several tools and merge the results.
- Filter the list to find live subdomains.
- Extract endpoints from the live hosts.
- Take screenshots of the endpoints automatically.
- Review the screenshots and spot exposed API keys and tokens.
- Visit the endpoint manually to confirm the keys work.
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.
API keys are like passwords that let programs talk to a service. If they are shown on a public web page, anyone who finds that page can copy them and act as the application, potentially reaching private data or functions.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.