Skip to content
Info disclosure Write-up Beginner

How I Found Accidentally Copy Pasted Gmail Inboxes

A researcher found that some people had accidentally copy-pasted their Gmail inbox pages onto public websites, exposing the full email contents. An attacker could read personal and confidential information from these copied pages.

ethicalhacker Follow

Published on infosecwriteups.com

I read about ethical hackers searching with Google Dorks based on information from known content, like login pages. Above text did sound promising to check on Google.

Ethicalhacker, on infosecwriteups.com

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.

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

How it worked

Root cause

Likely, users accidentally saved a copy of their Gmail inbox page, including the embedded JSON data, and published it on a public website.

Impact

These copied inboxes could expose personal and confidential information, such as customer conversations, personal data, and passwords.

What the attacker needed

Victim accidentally publishes Gmail copy; attacker uses Google search

The fix

The researcher notified most of the affected inbox owners so they could remove the copied files from their websites.

How it was found

  1. Search Google for specific text that appears in Gmail inboxes.
  2. Click on a search result that looks like a Gmail inbox.
  3. View the page source to find the JSON data of all emails.

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 write-up has not been written yet. The Original tab links to the source.

When you copy a web page and paste it into a website builder, you might also copy hidden data that the page uses. Here, people copied their Gmail inbox, and the copy included all the email data in a format that could be read. Anyone who found the page could see the emails.

What is Info disclosure?

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

More by ethicalhacker

View all

1 more disclosed report, best first.

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.