Skip to content
Info disclosure Disclosed report Beginner

Slack Leakage - Google Docs Plugin leads to credential and Mozilla Internal Information Disclosure

The Google Docs Slack plugin's document preview function allowed unauthenticated users to view shared documents, including one containing Mozilla's geolocation API keys. An attacker could read these keys and potentially use them to access the geolocation service.

Griffin Francis Follow

Originally disclosed on Mozilla

  • Fixed in 14 months
  • Paid in 14 months
  • Disclosed after 14 months
Text
Hi.

The implementation of the Google Docs Slack plugin leads to the disclosure of sensitive information through the document preview function. I do not need to be authenticated to a Mozilla email account to view the contents of the documents which are being shared.

I have noticed this behavior for awhile now, however at the time I was unable to find credentials which would further demonstrate the impact here. Recently I found a document which was being shared called "MLS API Keys in Use". This document details API keys for the https://location.services.mozilla.com/ website.

https://docs.google.com/spreadsheets/d/1BL6cpT4nW0HuQyUYbxtqFwJyTwn54maRNwN3S17z8j0/edit#gid=0

Initially I was having a hard time with reading the contents of the preview as it was  quite small within the Slack program. However navigating to the slack.com website enabled me to view the contents of the document after scrolling and playing with the browser a bit more. From here I was able to view the contents of the API keys which are currently being used.

https://location.services.mozilla.com/v1/geolocate?key=3b4d27dd-703d-4094-8398-4de2c763505a (Firefox for Android)

The service APIs accept data submission for geolocation stumbling as well as reporting a location based on IP addresses, cell, or WiFi networks. I believe this feature is also being used within Firefox.

Whilst the impact of these keys might be questionable. It raises the question what else is being stored within these Google documents?

Regards,
Griffin.

The original report as published on Mozilla's Bugzilla, by Griffin Francis. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the Slack plugin for Google Docs did not properly enforce authentication when rendering document previews, allowing unauthenticated access to shared documents.

Impact

An attacker could view sensitive documents shared in Slack, including API keys that might allow access to Mozilla's geolocation service, though the reporter questions the extent of the impact.

What the attacker needed

A Google Doc shared in Slack; no authentication required

How it was found

  1. Find a Google Doc shared in Slack that contains sensitive information.
  2. Open the document preview in Slack without being logged in to a Mozilla account.
  3. Navigate to slack.com and adjust the view to read the document contents.
  4. Extract the API keys from the document.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When a Google Doc is shared in Slack, Slack shows a preview of the document. This report found that anyone could see that preview without logging in, even if the document was meant to be private. One such document contained secret keys for a Mozilla service, which could let someone use that service without permission.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Griffin Francis

View all

20 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.