HackerPapers

arXiv:1604.02734cs.CR

Gone in Six Characters: Short URLs Considered Harmful for Cloud Services

Martin Georgiev, Vitaly Shmatikov

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.

arXiv comments
11 pages
Journal reference
DOI
Subjects
cs.CRCryptography and Security

On Hacker News

Linked by 4 identifiable commenters in 4 comments across 3 threads, from Apr 2016 to Jun 2021. Found in 2 HN submissions from Apr 2016 to Jun 2021. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • Turns out having your short URLs too short can also be problematic: https://arxiv.org/pdf/1604.02734v1.pdf An example in this paper cites the shortener used by Google Maps. The researchers were able to enumerate all the short links by brute force and join destinations from…

      fizwhizView on HNParent context

    • For these who prefer non-PDF arxiv link: https://arxiv.org/abs/1604.02734

      flakinessView on HNParent context

    • > Upon launch, gping.io will show you your distinctly private-but-shareable monitoring URL. This is bad for privacy if you will be using short URLs similar to TinyURL/bit.ly since short URLs can be bruteforced[1]. Additional authentication is probably a good idea. 1.…

      sangnoirView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.