Skip to content
Info disclosure Write-up Advanced

I Leaked Keywords from Google Drive with a Tiny Side‑Channel �

A cross-site search side-channel on Google Drive's search page allowed an attacker to infer whether a query returned results by measuring frame counts or paint timing differences. Because Drive indexes document contents, an attacker could probe keyword lists to learn if a victim's files contain specific terms.

Aditya Sunny Follow

Published on adityasunny06.medium.com

In our case, the Google Drive search results page rendered slightly differently depending on whether the query matched files. Those differences were visible to an off‑origin attacker through frame counting / paint cadence on an embedded or popped window.

Aditya Sunny, on adityasunny06.medium.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 the search results page rendered with observably different frame counts or paint timing depending on whether results were present, creating a measurable side-channel.

Impact

An attacker could infer whether specific keywords exist in a victim's Google Drive documents, potentially revealing sensitive topics or information, though the attack required the victim to visit an attacker-controlled page and relied on timing differences that were later fixed.

What the attacker needed

Victim signed into Google; victim visits attacker page; attacker can measure frame timing

The fix

Google adjusted rendering so the observable differences were no longer a dependable signal.

How it was found

  1. Prepare two test queries: one that matches a file in your Drive, and one that doesn't.
  2. For each query, load the search URL and measure frames/paint milestones during startup.
  3. Plot the distributions to see separable clusters.
  4. Choose a threshold or a tiny classifier to distinguish the two.
  5. Run over a dictionary of terms to infer presence.

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.

This is a side-channel attack where an attacker's webpage can't read data from another site (like Google Drive) due to browser security, but can still guess information by observing small differences in how the page loads. Here, the number of frames or the timing of rendering differed depending on whether a search found results, letting the attacker learn if certain words appear in the victim's files.

What is Info disclosure?

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

More by Aditya Sunny

View all

5 more disclosed reports, 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.