arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.02734cs.CR
收藏

六个字符:短URL被认为对云服务有害

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

Martin Georgiev, Vitaly Shmatikov

摘要:

现代云服务旨在鼓励和支持协作。为了帮助用户共享指向在线文档、地图等的链接,包括诸如Microsoft OneDrive的云存储提供商和诸如Google Maps的地图服务的若干服务直接集成URL缩短器,其将长的、笨拙的URL转换成短URL,由诸如1drv.ms或goo.gl的域和短令牌组成。在本文中,我们证明了包含在短URL中的5个和6个字符的令牌的空间是如此之小,以至于可以使用蛮力搜索来扫描。因此,所有旨在与少数信任的朋友或合作者共享的在线资源实际上是公开的,任何人都可以访问。这会导致严重的安全和隐私漏洞。在云存储方面,我们专注于Microsoft OneDrive。我们展示了如何使用短URL枚举来发现和读取存储在OneDrive云中的共享内容,甚至包括用户没有为其生成短URL的文件。7%的OneDrive账户允许任何人写入。由于云存储的文件会自动复制到用户的个人电脑和设备中,这是一个大规模自动恶意软件注入的载体。在在线地图的情况下,我们展示了短URL枚举如何揭示用户彼此共享的方向。对于许多个人用户来说,这可以推断他们的居住地址,真实身份以及他们访问的极其敏感的位置,如果公开披露,将侵犯医疗和财务隐私。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑