Google API key leaked to Public
Several web endpoints exposed a Google API key in their responses, and the key was usable against the Google Geocode API. An attacker could use the key to make requests billed to the company, potentially causing extra costs or a denial of service.
bb89e4af088379499c73f7d Follow
Originally disclosed on HackerOne
- Triaged in 17 days
- Fixed in 20 days
- Paid in 20 days
- Disclosed after 31 days
Hi team,
I found a bunch of endpoints that is leaking you Google Api key. I tested the key and found it is vulnerable to Geocode Api.
List of vulnerable endpoints https://ass0.fetlife.com https://ass2.fetlife.com https://app.fetlife.com https://ass1.fetlife.com https://ass3.fetlife.com https://fetlife.com https://ws.fetlife.com
POC key:
AI████████DM
Exploit POC: API key is vulnerable for Geocode API! Here is the PoC link which can be used directly via browser: https://maps.googleapis.com/maps/api/geocode/json?latlng=40,30&key=AI████████DM
Impact
costing companies extra money and in some cases DOS.
Identifies cost: $5 per 1000 request
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Google API key was exposed through the listed endpoints, allowing it to be used against the Geocode API.
Impact
The exposed key could let an attacker run up charges on the company's Google account and, in some cases, cause a denial of service.
What the attacker needed
None
How it was found
- Find endpoints that expose the Google API key.
- Test the key against the Google Geocode API.
- Confirm the key works by opening the Geocode request in a browser.
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 report has not been written yet. The Original tab links to the source.
An API key is like a password that lets a program use a paid service, here Google Maps. The website accidentally showed this key to anyone who looked, so other people could use it and the owner would get the bill. The reporter confirmed the key worked by making a map lookup request with it.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.