Skip to main content
QUICK REVIEW

[Paper Review] Gone in Six Characters: Short URLs Considered Harmful for Cloud Services

Martin Georgiev, Vitaly Shmatikov|arXiv (Cornell University)|Apr 10, 2016
Privacy-Preserving Technologies in DataComputer Science9 references5 citations
TL;DR

This paper demonstrates that short URLs used by cloud services like Microsoft OneDrive and Google Maps—based on 5- or 6-character tokens—are vulnerable to brute-force enumeration, exposing shared files and location data to anyone globally. The authors show that this leads to widespread privacy leaks and large-scale malware injection via writable cloud folders, with 7% of exposed OneDrive accounts allowing public write access.

ABSTRACT

Modern cloud services are designed to encourage and support collaboration. To help users share links to online documents, maps, etc., several services, including cloud storage providers such as Microsoft OneDrive and mapping services such as Google Maps, directly integrate URL shorteners that convert long, unwieldy URLs into short URLs, consisting of a domain such as 1drv.ms or goo.gl and a short token. In this paper, we demonstrate that the space of 5- and 6-character tokens included in short URLs is so small that it can be scanned using brute-force search. Therefore, all online resources that were intended to be shared with a few trusted friends or collaborators are effectively public and can be accessed by anyone. This leads to serious security and privacy vulnerabilities. In the case of cloud storage, we focus on Microsoft OneDrive. We show how to use short-URL enumeration to discover and read shared content stored in the OneDrive cloud, including even files for which the user did not generate a short URL. 7% of the OneDrive accounts exposed in this fashion allow anyone to write into them. Since cloud-stored files are automatically copied into users' personal computers and devices, this is a vector for large-scale, automated malware injection. In the case of online maps, we show how short-URL enumeration reveals the directions that users shared with each other. For many individual users, this enables inference of their residential addresses, true identities, and extremely sensitive locations they visited that, if publicly revealed, would violate medical and financial privacy.

Motivation & Objective

  • To investigate the security and privacy risks introduced by short URLs in cloud services.
  • To analyze how brute-force scanning of short URL token spaces can expose private cloud-stored files and mapping data.
  • To demonstrate that short URLs intended for private sharing are effectively public due to limited token entropy.
  • To evaluate the real-world impact of short URL enumeration on cloud storage and mapping services.
  • To recommend mitigation strategies for service providers and users to reduce exposure risks.

Proposed method

  • Conducted large-scale brute-force enumeration of 5- and 6-character token spaces used in short URLs from OneDrive and Google Maps.
  • Exploited the Web API and metadata retrieval mechanisms of cloud services to discover linked resources without direct access.
  • Used account traversal techniques to access all files and folders associated with a user’s capability key after discovering one short URL.
  • Leveraged public directories (e.g., White Pages) to correlate shared directions with user identities and sensitive locations.
  • Monitored analytics APIs to extract temporal and usage metadata from shared maps, enhancing inference of private behavior.
  • Reported findings to Microsoft and Google, analyzing their responses and changes to short URL policies.

Experimental results

Research questions

  • RQ1Can the small token space of 5- and 6-character short URLs be efficiently scanned to discover private cloud resources?
  • RQ2To what extent do short URLs in cloud storage services like OneDrive lead to unauthorized access to all user files, even those not directly linked via short URLs?
  • RQ3How do short URLs in mapping services expose sensitive personal information such as residential addresses and visits to medical or correctional facilities?
  • RQ4What is the impact of automatic file synchronization between cloud and personal devices when accounts are publicly writable?
  • RQ5How do service providers respond to such vulnerabilities, and what changes do they implement to mitigate risks?

Key findings

  • The 5- and 6-character token space used in short URLs is small enough to be exhaustively scanned via brute-force, making all linked resources publicly accessible.
  • 7% of OneDrive accounts discovered via short URL enumeration were world-writable, enabling automated malware injection into users’ devices through synchronized files.
  • Exposure of a single short URL to a OneDrive file allowed discovery of all other files and folders in the same account, even those not directly shared via short links.
  • Short URLs in Google Maps revealed residential addresses, sensitive locations (e.g., mental health clinics, abortion clinics), and social ties through cross-correlation with public directories.
  • Google responded by increasing token length to 11 or 12 characters for new short URLs, rendering them immune to brute-force scanning.
  • Microsoft did not classify the issue as a security vulnerability and did not change its short URL system, leaving all previously generated short URLs permanently exposed.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.