Google Bug Exposes Private Documents

  • By Dawna M. Roberts
  • Published: Jan 01, 2021
  • Last Updated: Mar 18, 2022

The Hacker News reported this week that a Google bug could have allowed hackers to view and take screenshots of your private documents. 

What is Google Docs?

Google is not just a search engine. The company also provides dozens of other digital services, and one of them is collectively called Google Docs. The service mimics Microsoft Office and has a word processing area, a spreadsheet tool, a powerpoint-type program for presentations, and a place where you can create online forms for others to fill out.

A large percentage of the business world uses Google Docs to share, collaborate, and easily store documents in the cloud. Most people trust the service implicitly storing even private and sensitive information there. 

What Happened?

Security researcher Sreeram KL discovered the bug on July 9th and received $3,100+ as part of Google’s Vulnerability Reward Program. The bug stemmed from a feedback component that allows users to send information to Google about how the program is working. It also includes the option to send a screenshot along with the message.

This “Send Feedback” option exists across all of Google Docs services, but it comes from their main website using an iFrame. According to The Hacker News, it works by “instead of having to duplicate the same functionality across its services, the feedback feature is deployed in Google’s main website (“www.google.com”) and integrated to other domains via an iframe element that loads the pop-up’s content from “feedback.googleusercontent.com.”

The Technical Details

The Hacker News further explains how the feedback tool works, “This also means that whenever a screenshot of the Google Docs window is included, rendering the image necessitates the transmission of RGB values of every pixel to the parent domain (www.google.com), which then redirects those RGB values to the feedback’s domain, which ultimately constructs the image and sends it back in Base64 encoded format.”

Sreeram, however, identified a bug in the manner these messages were passed to “feedback.googleusercontent.com,” thus allowing an attacker to modify the frame to an arbitrary, external website, and in turn, steal and hijack Google Docs screenshots which were meant to be uploaded to Google’s servers.”

They continued to explain the bug Sreeram found was related to a “lack of X-Frame-Options header in the Google Docs domain.” That allowed hackers to change the target of the message and exploit the content contained with it. Theoretically, a bad actor could take a screenshot of private documents and reroute them to themselves. 

The Fix

Anytime a website uses an add-on like an iFrame or pop-up box that feeds information from a different domain, it could expose the website for exploitation. 

The Hacker News quoted Mozilla documentation for the fix “Always specify an exact target origin, not *, when you use postMessage to send data to other windows. A malicious site can change the location of the window without your knowledge, and therefore it can intercept the data sent using postMessage.”

The Bottom Line

Google has since patched the bug, and Sreeram was awarded a nice prize for discovering it and reporting it to the search engine giant. Google is widely accepted as a very safe platform, but this lesson shows us that no one is safe from hacking, and no digital online service is exempt from bugs and possible exploitation. 

A final warning to users is to never store personal or sensitive information in the cloud. There is always the chance that someone other than your intended recipient could view, steal, or use that information for identity theft or fraud. 

About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

What You Need to Know about the AT&T Data Breach

What You Need to Know about the AT&T Data Breach

AT&T, one of the largest telecommunications providers in the United States and the fourth-largest telecommunications company in the world by revenue, experienced a significant data leak, which became public in June 2025.

What You Need to Know about the Mainstreet Bank Data Breach

What You Need to Know about the Mainstreet Bank Data Breach

MainStreet is a community-oriented bank in Fairfax, Virginia. Established in 2004, it is under the MainStreet Bancshares Incorporated, a small-cap financial holding organization.

What You Need to Know about the Cartier Data Breach

What You Need to Know about the Cartier Data Breach

Swiss-owned luxury jeweler, Cartier, has had its website hacked and customer data compromised in the incident. Cartier, a subsidiary of Richemont, produces some of the world's finest watches, bracelets, and necklaces, which have been worn by Michelle Obama, Taylor Swift, and Angelina Jolie.

What You Need to Know about the Coinbase Data Breach

What You Need to Know about the Coinbase Data Breach

Coinbase is a digital currency platform that allows consumers to transact using digital currencies, including Ethereum and Bitcoin.

Why

Why "Card Testing Fraud" Is Becoming a Major Threat to E-Commerce Businesses

Credit card and banking information is one of the major targets for data breaches and other cyber attacks. These details are sold on the black market and cost businesses and consumers billions in losses every year.

BNPL Fraud Risks: Why 'Buy Now, Pay Later' Is a Target for Cybercriminals

BNPL Fraud Risks: Why 'Buy Now, Pay Later' Is a Target for Cybercriminals

Buy Now, Pay Later services offer a more flexible method for online purchases. Consumers aren't required to make an immediate, full payment; they can instead split the sum into a schedule that works for them.

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Notice

By proceeding with this scan, you agree to let IDStrong run a Free Scan of supplied parameters of your personal information and provide free preliminary findings in compliance with our Terms of Use and Privacy Notice. You consent to us using your provided information to complete the Free Scan and compare it against our records and breach databases or sources to provide your Free preliminary findings report.

Rest assured: IDStrong will not share your information with third parties or store your information beyond what is required to perform your scan and share your results.

Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close