Skip to content
Misconfiguration Disclosed report Beginner

Google Maps API key stored as plain text leading to DOS and financial damage

A Google Maps API key embedded in the Android app lacked restrictions, so anyone could extract it and query the Google Static Maps API. This could cause financial damage and possibly denial of service.

sdushantha Follow

Originally disclosed on HackerOne

Bounty$750 Medium View original
  • Paid in 5 months
  • Disclosed after 5 months

Summary by the program

The researcher highlighted the fact that the Google Maps API key (which is by design easily retrievable from the .apk) was missing some restrictions. It then could be used by anyone to query the Google Static Map API, and possibly lead to financial damage. Resolved by enforcing missing restrictions.

The original report as published on HackerOne, by sdushantha. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 Maps API key lacked restrictions, allowing anyone to query the Static Maps API.

Impact

An attacker could use the exposed key to query the Static Maps API, possibly causing financial damage.

What the attacker needed

Extract key from the app; no key restrictions

The fix

The missing restrictions on the API key were enforced.

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 an app use a paid service. Here the key was easy to find inside the app and had no limits, so anyone could use it and run up the owner's bill. The fix was to add limits to the key.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by sdushantha

View all

2 more disclosed reports, best first.

More from Zenly

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.