This is fine 🐶
Shareable links from Microsoft services such as OneDrive, SharePoint, Sway and Skype were indexed by search engines, exposing sensitive files and personal data to anyone. An attacker could search for these links and access private content without authorisation.
Ricardo Iramar dos Santos Follow
Published on medium.com
Ricardo Iramar dos Santos
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
This write-up is about shareable links created by Microsoft services being indexed by search engines. The services discussed are OneDrive (formerly SkyDrive), Outlook calendars, SharePoint, Sway and Skype broadcast. The feature at the centre of it is the shareable link: a URL that a user generates to share a file or folder with other people. The researcher's point is that many of these links end up in search engine caches, where anyone can find them.
The report was published on 8 June 2020. The researcher says he tried to report the issue to MSRC three times and received the email below as the final answer.

He states that he is allowed to publish these bugs. His stated reason for publishing is that other people or companies may be affected and can check for themselves.
Setup
No accounts, roles, tools or versions are described. The work was done with ordinary web browsing and search engine queries against Google and Bing. The only precondition is that a shareable link exists and that a search engine has cached it.
Finding it
The researcher says he does not remember what he was looking for, but he was not trying to find bugs in Microsoft services, having already had problems reporting something simple to MSRC. He was checking Google search results when this URL caught his attention:
https://skydrive.live.com/embedicon.aspx/.Public/2010/march/Neenillade%20Nanagenide%20-%20MN%20Vyasa%20Rao/Elli%20Hoguve%20Nee%20-%20MD%20Pallavi%20Arun.M4A?cid=ceb8d6b27585bd79
His first question was why a shareable link appears in Google search results. He recaps how a OneDrive shareable link is normally created, referring to the Microsoft support page:
https://support.office.com/en-us/article/share-onedrive-files-and-folders-9fcc2f7d-de0c-4cec-93b0-a82024800c07
He checked the entire help page and found no mention that shareable links can be found on Google or any other search engine.
Exploitation
Step 1: Navigate the folder structure from the URL
Before searching for more links, he looked at the folder names in the skydrive.live.com URL and thought he might navigate the folders by removing the file name. The blue square with "march" inside and the number 4 was itself a link.
Clicking the blue square redirected him to https://onedrive.live.com. SkyDrive is the old name of OneDrive. The point he makes is that an old service domain name redirects to the new domain name, and the old service can be found in Google search results.
Step 2: Search onedrive.live.com
He searched Google for onedrive.live.com.
There were about 81,600 results, but most were not shareable links. He then filtered with inurl on the URL query parameter named cid, which appeared in the URL above.
Only one result. He then included the omitted results.
Google found about 42,800 possible shareable links in 0.30 seconds. His explanation is that Google probably hid the results because the URLs are very similar (same domain and parameters) while their content differs. Google provides no preview, so the content can only be checked by opening the links.
The first link he tried was a video of children being interviewed, from Brazil, speaking Portuguese. He notes that Google seems to present results based on his geolocation, so he probably cannot get all possible results from all possible Google cache servers.
Step 3: What a leaked link means
He gives the example of John, the owner of a folder, who created a shareable link and sent it to his friends believing that only they could see it.
He then shows how he was able to find John's folder.
He also shows that the search can be targeted at what you want to find inside the shareable links. He reports finding shared files and folders with private pictures, software, CD/DVD images, licences, financial documents, passwords and more. MSRC's position, quoted in the report, was that "the risk is low or would take significant effort to exploit" and that "Microsoft has decided that it will not be fixing this vulnerability".
Step 4: The same search on Bing
He then tried Bing. Bing found 4,760,000 results on onedrive.live.com without any filter.
Using the same filter, Bing found 1,950,000 results, against Google's about 42,800. He searched Bing for the string "Memorial Day", as he had on Google, to find John's folder.
Bing did not find John's folder. Of the three links Google found, Bing found only one. He compared the three links and the only difference that made sense to him was the permissions. His conclusion is that Google and Bing likely use different parameters to cache results.
Step 5: Looking for other affected services
He suspected SkyDrive/OneDrive was not the only affected service and searched Google with:
site:live.com inurl:cid -site:onedrive.live.com -site:skydrive.live.com
This turned up some Outlook calendars, and he opened one of them.
He then searched for anything containing the password string:
site:live.com inurl:password
He found some "Reset your password" links but nothing he considered really scary. He notes the oddity of Microsoft asking for something that is already in the URL.
Step 6: Targeting bug bounty domains
Instead of trying random services, he started targeting the domains listed on the Microsoft Cloud bug bounty page:
https://www.microsoft.com/en-us/msrc/bounty-microsoft-cloud
He ran the Google query:
site:outlook.office365.com inurl:calendar
This returned the same kind of thing previously found under https://outlook.live.com.
Step 7: Safe Links
While checking Google results he found the subdomain safelinks.protection.outlook.com. This time he checked Bing first.
Only 5 results. On Google there were about 222,000 results in 0.21 seconds.
He refers to the Microsoft documentation on ATP Safe Links:
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/atp-safe-links?view=o365-worldwide
His conclusion is that ATP Safe Links are cached on Google servers. He then looked at what some of them have in common:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Finternal.kcl.ac.uk%2Finnovation%2FCrick%2FPhDProgramme%2Findex.aspx&data=01%7C01%7Candrea.streit%40kcl.ac.uk%[redacted]%[redacted]%7C0&sdata=KZWybbWZGhLZueGX4px%2BDr6u4N57r30fuWqeskE0GGA%3D&reserved=0https://eur03.safelinks.protection.outlook.com/?url=helpdesk.eui.eu&data=02%7C01%7CLaura.Bechi%40eui.eu%[redacted]%[redacted]%7C0%7C0%7C637122818064802683&sdata=XqdRj96A3a0mquiKW6MQU2mCjo%2B27dCU22uPK0%2F1Q0w%3D&reserved=0https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmyidentity.app.vumc.org%2Finvitation%2F&data=02%7C01%7Ctracey.m.street%40vumc.org%[redacted]%[redacted]%7C0%7C0%7C637158359088368561&sdata=[redacted]%2BrlCbwqqzk%3D&reserved=0
He then URL-decodes them:
https://eur03.safelinks.protection.outlook.com/?url=https://internal.kcl.ac.uk/innovation/Crick/PhDProgramme/index.aspx&data=01|01|[redacted]|[redacted]|[redacted]|0&sdata=KZWybbWZGhLZueGX4px+Dr6u4N57r30fuWqeskE0GGA=&reserved=0https://eur03.safelinks.protection.outlook.com/?url=helpdesk.eui.eu&data=02|01|[redacted]|[redacted]|[redacted]|0|0|637122818064802683&sdata=XqdRj96A3a0mquiKW6MQU2mCjo+27dCU22uPK0/1Q0w=&reserved=0https://nam05.safelinks.protection.outlook.com/?url=https://myidentity.app.vumc.org/invitation/&data=02|01|[redacted]|[redacted]|[redacted]|0|0|637158359088368561&sdata=[redacted]+rlCbwqqzk=&reserved=0
The domain of the URL matches the domain of the email in the data parameter. His reading is that these are the emails that received the URL by email. He then searched for valid @microsoft.com addresses:
site:safelinks.protection.outlook.com inurl:%40microsoft.com
https://nam06.safelinks.protection.outlook.com/?url=https://careers.microsoft.com/i/us/en/job/692819/2020-MBA-Graduates-Marketing-GSMO-Beijing&data=02|01|[redacted]|[redacted]|[redacted]|1|0|637020366863905780&sdata=DvZj8PcK3eGShuNkJr9A05+0O2kaTqknT+ODsyu4k08=&reserved=0https://nam06.safelinks.protection.outlook.com/?url=https://docs.microsoft.com/en-us/dynamics365/unified-operations/financials/localizations/rus-cash-flow&data=02|01|[redacted]|[redacted]|[redacted]|1|0|636911655386341020&sdata=[redacted]=&reserved=0https://nam06.safelinks.protection.outlook.com/?url=https://techcommunity.microsoft.com/t5/Enterprise-Mobility-Security/Reduce-your-potential-attack-surface-using-Azure-ATP-Lateral/ba-p/291787&data=02|01|[redacted]|[redacted]|[redacted]|1|0|636807914712746157&sdata=0dtYSgtC9XpXMztKH2iJj0BVBp5oImO/8QpMrnNvOnw=&reserved=0
He notes this is useful for reconnaissance when you need a valid email for a specific domain. He did not research much further, but says the other parameters seem to hide something.
Step 8: SharePoint and Sway
He ran the Google query:
site:sharepoint.com inurl:cid
SharePoint shareable links are also there. He then looked at Sway with:
site:sway.com inurl:ref=Link
Step 9: Skype broadcast
He says there are probably many more Microsoft services findable through different search engines, but the grand finale is broadcast.skype.com. He says no explanation is needed and shows the screenshots below.
Root cause
The report does not describe any code or configuration. The report does not describe any code or configuration behind the indexing. The old SkyDrive domain still redirecting to OneDrive means links under the old name remain discoverable. The researcher's comparison of Google and Bing results led him to assume the two engines use different parameters to cache results.
Impact
Anyone can find shareable links through search engines and open the content behind them. The researcher reports finding private pictures, software, CD/DVD images, licences, financial documents and passwords. The Safe Links results contain email addresses and the URLs, which the researcher reads as the addresses that received them. The exposure depends on the link having been crawled and cached by a search engine, and results vary by engine and by the searcher's geolocation. MSRC's assessment, as quoted, was that the risk is low or would take significant effort to exploit, and that Microsoft would not fix it.
Fix
No fix was made. Microsoft decided not to fix the issue. The report does not propose a specific remediation.
Variants to test
- Search other Microsoft service domains with
inurl:cidor similar shareable-link parameters, and check whether results return files or folders. A positive result is a cached link that opens shared content without authentication. - Search old or redirected domain names of a service, as with skydrive.live.com, to find links that survive a rebrand. A positive result is content reachable through the old domain.
- Search Safe Links domains with
inurl:%40followed by a target domain to collect email addresses and the URLs they received. A positive result is a cached Safe Links URL whosedataparameter contains an address at the target domain. - Compare Google and Bing for the same query and filter, as the researcher did. A positive result is a link found by one engine and not the other, which indicates different caching behaviour.
- Search for sensitive strings inside shareable links, such as
inurl:password, to see what users have put in shared URLs. A positive result is a cached link containing such a string.
What happened, in plain words
A security researcher found that many links that people create to share files and folders through Microsoft services were being listed by search engines like Google and Bing. Anyone could search for them and open the shared content. The services involved include OneDrive (which used to be called SkyDrive), Outlook calendars, SharePoint, Sway and Skype broadcast. The researcher reported this to Microsoft three times, but Microsoft decided not to fix it, saying the risk was low or would take significant effort to exploit. The researcher then published the details so that others could check whether they were affected.
This article walks through exactly what he did, step by step, using only a web browser and search engines. You do not need any special tools or programming knowledge to follow along. We will explain every technical term as it comes up.
Let’s begin at the end 🏁
The researcher starts by showing the final response he received from Microsoft after trying to report the issue three times. He says he is allowed to publish these bugs, and his main reason for doing so is that other people or companies might be affected and can check for themselves.

The beginning ⭐️
He does not remember what he was originally searching for, but he was not trying to find bugs in Microsoft services. He had already had trouble reporting a simple issue to MSRC (Microsoft Security Response Center), which is the team that handles security reports for Microsoft. While browsing Google search results, one URL caught his attention:
https://skydrive.live.com/embedicon.aspx/.Public/2010/march/Neenillade%20Nanagenide%20-%20MN%20Vyasa%20Rao/Elli%20Hoguve%20Nee%20-%20MD%20Pallavi%20Arun.M4A?cid=ceb8d6b27585bd79
This is a link to a file (an .M4A audio file) stored on SkyDrive, which is the old name for OneDrive. The URL contains a cid parameter. The researcher wondered why a shareable link would appear in Google search results. To understand the normal way such links are created, he looked at Microsoft's support page:
https://support.office.com/en-us/article/share-onedrive-files-and-folders-9fcc2f7d-de0c-4cec-93b0-a82024800c07
He checked the entire help page and found no mention that these shareable links could be found by search engines. In other words, Microsoft's documentation did not mention that these shareable links could be found by search engines.
Searching for shareable links 🙈
Before searching for more links, he noticed the folder names in the SkyDrive URL. He thought he might be able to navigate through the folders by removing the file name from the URL. The blue square with "march" inside and the number 4 was actually a clickable link.
When he clicked that blue square, he was redirected to https://onedrive.live.com. SkyDrive is simply the old name for OneDrive. Microsoft renamed the service, but the old domain name still redirects to the new one. The key point is that the old service domain name can still be found in Google search results.
Step 1: Search for onedrive.live.com
He then searched Google for onedrive.live.com.
There were about 81,600 results, but most were not shareable links. To narrow it down, he used a search operator called inurl to filter for URLs that contain a specific parameter. The parameter he chose was cid, which he had seen in the URL above. The inurl operator tells Google to only show pages whose URL contains the given text.
Only one result appeared. He then included the omitted results, which Google hides by default when many results are very similar.
Google found about 42,800 possible shareable links in 0.30 seconds. His explanation is that Google probably hid the results because the URLs are very similar (same domain and parameters) while their content differs. Google provides no preview, so the only way to check the content is to open the links.
The first link he tried was a video of children being interviewed, from Brazil, speaking Portuguese. He notes that Google seems to present results based on his geolocation (his physical location), so he probably cannot get all possible results from all possible Google cache servers. A cache server is a computer that stores copies of web pages to serve them faster; search engines keep such copies.
Step 2: What a leaked link means
He gives the example of John, the owner of a folder, who created a shareable link and sent it to his friends believing that only they could see it.
He then shows how he was able to find John's folder.
He also shows that the search can be targeted at what you want to find inside the shareable links. He reports finding shared files and folders with private pictures, software, CD/DVD images, licences, financial documents, passwords and more. MSRC's position, quoted in the report, was that "the risk is low or would take significant effort to exploit" and that "Microsoft has decided that it will not be fixing this vulnerability".
Step 3: The same search on Bing
He then tried Bing, Microsoft's own search engine. Bing found 4,760,000 results on onedrive.live.com without any filter.
Using the same filter (inurl:cid), Bing found 1,950,000 results, compared to Google's about 42,800. He searched Bing for the string "Memorial Day", as he had on Google, to find John's folder.
Bing did not find John's folder. Of the three links Google found, Bing found only one. He compared the three links and the only difference that made sense to him was the permissions. His conclusion is that Google and Bing likely use different parameters to cache results.
Step 4: Looking for other affected services
He suspected SkyDrive/OneDrive was not the only affected service and searched Google with:
site:live.com inurl:cid -site:onedrive.live.com -site:skydrive.live.com
This query uses several search operators: site:live.com restricts results to the live.com domain; inurl:cid requires the URL to contain "cid"; and the minus signs exclude results from onedrive.live.com and skydrive.live.com. The goal was to find other Microsoft services on live.com that use a similar cid parameter.
This turned up some Outlook calendars, and he opened one of them.
He then searched for anything containing the password string:
site:live.com inurl:password
This looks for URLs on live.com that contain the word "password".
He found some "Reset your password" links but nothing he considered really scary. He notes the oddity of Microsoft asking for something that is already in the URL.
Step 5: Targeting bug bounty domains
Instead of trying random services, he started targeting the domains listed on the Microsoft Cloud bug bounty page:
https://www.microsoft.com/en-us/msrc/bounty-microsoft-cloud
A bug bounty program is a way for companies to reward people who find and report security issues. He then ran the Google query:
site:outlook.office365.com inurl:calendar
This searches for calendar-related URLs on the outlook.office365.com domain.
This returned the same kind of thing previously found under https://outlook.live.com.
Step 6: Safe Links
While checking Google results he found the subdomain safelinks.protection.outlook.com. This is part of Microsoft's ATP Safe Links feature, which checks links in emails to protect users from malicious sites. This time he checked Bing first.
Only 5 results. On Google there were about 222,000 results in 0.21 seconds.
He refers to the Microsoft documentation on ATP Safe Links:
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/atp-safe-links?view=o365-worldwide
His conclusion is that ATP Safe Links are cached on Google servers. He then looked at what some of them have in common:
This is a single line containing three Safe Links URLs concatenated. Each URL has a url parameter (the original link), a data parameter (which contains encoded information including an email address), and an sdata parameter (a signature). The % sequences are URL encoding, which represents special characters.
He then URL-decodes them:
https://eur03.safelinks.protection.outlook.com/?url=https://internal.kcl.ac.uk/innovation/Crick/PhDProgramme/index.aspx&data=01|01|[redacted]|[redacted]|[redacted]|0&sdata=KZWybbWZGhLZueGX4px+Dr6u4N57r30fuWqeskE0GGA=&reserved=0https://eur03.safelinks.protection.outlook.com/?url=helpdesk.eui.eu&data=02|01|[redacted]|[redacted]|[redacted]|0|0|637122818064802683&sdata=XqdRj96A3a0mquiKW6MQU2mCjo+27dCU22uPK0/1Q0w=&reserved=0https://nam05.safelinks.protection.outlook.com/?url=https://myidentity.app.vumc.org/invitation/&data=02|01|[redacted]|[redacted]|[redacted]|0|0|637158359088368561&sdata=[redacted]+rlCbwqqzk=&reserved=0
URL decoding turns %7C into |, %40 into @, and so on. Now we can see that the data parameter contains an email address (e.g. [redacted]). The domain of the URL (internal.kcl.ac.uk) is under the same domain as the email (kcl.ac.uk). His reading is that these are the emails that received the URL by email. He then searched for valid @microsoft.com addresses:
site:safelinks.protection.outlook.com inurl:%40microsoft.com
Here %40 is the URL-encoded form of @, so this searches for Safe Links URLs that contain an @microsoft.com email address.
https://nam06.safelinks.protection.outlook.com/?url=https://careers.microsoft.com/i/us/en/job/692819/2020-MBA-Graduates-Marketing-GSMO-Beijing&data=02|01|[redacted]|[redacted]|[redacted]|1|0|637020366863905780&sdata=DvZj8PcK3eGShuNkJr9A05+0O2kaTqknT+ODsyu4k08=&reserved=0https://nam06.safelinks.protection.outlook.com/?url=https://docs.microsoft.com/en-us/dynamics365/unified-operations/financials/localizations/rus-cash-flow&data=02|01|[redacted]|[redacted]|[redacted]|1|0|636911655386341020&sdata=[redacted]=&reserved=0https://nam06.safelinks.protection.outlook.com/?url=https://techcommunity.microsoft.com/t5/Enterprise-Mobility-Security/Reduce-your-potential-attack-surface-using-Azure-ATP-Lateral/ba-p/291787&data=02|01|[redacted]|[redacted]|[redacted]|1|0|636807914712746157&sdata=0dtYSgtC9XpXMztKH2iJj0BVBp5oImO/8QpMrnNvOnw=&reserved=0
Again, these are three Safe Links URLs concatenated. The data parameter now contains @microsoft.com email addresses. He notes this is useful for reconnaissance (gathering information about a target) when you need a valid email for a specific domain. He did not research much further, but says the other parameters seem to hide something.
Step 7: SharePoint and Sway
He ran the Google query:
site:sharepoint.com inurl:cid
This looks for SharePoint URLs that contain the cid parameter.
SharePoint shareable links are also there. He then looked at Sway with:
site:sway.com inurl:ref=Link
This searches for Sway URLs that contain ref=Link, which is a parameter used in Sway shareable links.
Step 8: Skype broadcast
He says there are probably many more Microsoft services findable through different search engines, but the grand finale is broadcast.skype.com. He says no explanation is needed and shows the screenshots below.
Glossary
- Shareable link: A URL that allows anyone who has it to access a file or folder, often without needing to log in.
- Search engine cache: A stored copy of a web page that a search engine keeps to serve results quickly. If a page is cached, it can appear in search results even if the original page is later changed or removed.
- MSRC: Microsoft Security Response Center, the team that handles security reports for Microsoft.
- URL: Uniform Resource Locator, the address of a web page or file on the internet.
- Parameter: A part of a URL that comes after a question mark (
?) and provides extra information, likecid=123. inurloperator: A search engine operator that restricts results to pages whose URL contains a specific word or phrase.siteoperator: A search engine operator that restricts results to a specific domain or website.- URL encoding: A way to represent special characters in a URL using
%followed by two hexadecimal digits (e.g.%40for@). - URL decoding: The reverse of URL encoding, turning
%40back into@, etc. - Geolocation: The physical location of a user, often determined by IP address, which search engines may use to tailor results.
- Bug bounty program: A program where organisations reward individuals for finding and reporting security vulnerabilities.
- ATP Safe Links: A Microsoft feature that checks links in emails and blocks malicious ones by rewriting them to go through a protection service.
- Reconnaissance: The information-gathering phase of a security assessment, where an attacker (or researcher) collects data about a target.
- Subdomain: A domain that is part of a larger domain, like
safelinks.protection.outlook.combeing a subdomain ofoutlook.com. - Cache server: A server that stores copies of web content to reduce load and speed up delivery.
- Vulnerability: A weakness in a system that can be exploited to compromise security.
- Exploit: To take advantage of a vulnerability to achieve a malicious goal.
- Permissions: Rules that determine who can access or modify a file or folder.