A client-side API key with no origin restrictions — and an honest read of how much it actually mattered.
| Target | note.synology.com |
|---|---|
| Source | notestation_gmap.js (public client-side JavaScript) |
| Key | AIzaSy…[REDACTED] — masked; reported privately to the vendor |
| API surface | Google Maps / Places |
| Restrictions | None observed (usable from any origin) |
| Class | Exposed credential / missing key restriction (CWE-200, CWE-284) |
Google Maps keys are designed to live in client-side code. The security control is not hiding the key — it's restricting it (by HTTP referrer, IP, or allowed API) so a visible key still only works from the owner's own sites. Here, those restrictions were missing.
An unrestricted, billable key can be reused from any origin to:
It does not bypass authentication, expose user data, or grant infrastructure access. Impact is bounded by whether the key is enabled/billed and by Google's per-key quotas and abuse protections. This is a hardening issue.