Skip to content
All outages

Editor's note: A privacy flaw, not an outage.

Incident · Easy · URL shortener

Five characters from public

  • PRIVACY
  • NO OUTAGE
  • SHARE LINKS
90s

The situation

Your maps product lets people share directions as a short link. The code after the slash is five characters drawn from letters and digits. There is no login on a shared link: knowing the link is the permission. A security researcher emails you. They requested millions of codes they made up at random, and more than a third of them opened someone's saved directions, home addresses included.

The evidence

Made-up codes that opened a real link (%)illustrative
  • 5-character codes
  • after the fix
Logs and signalsReconstructed
-- GET /maps/k3Tq9 → 302 saved directions
-- GET /maps/Zb07w → 404
-- GET /maps/p9LxA → 302 saved directions
-- alphabet: a–z A–Z 0–9 · length 5 → about 916 million codes
-- codes already in use: more than one in three
-- requests spread over many machines

Your call

What is the design flaw?

Charts and logs are reconstructions. Aim for 90 seconds; going over costs nothing.

Last updated: Research paper