Skip to content
Cache bugs Write-up Advanced

A brief summary of the attack

A cache probing attack let a malicious site detect whether a resource had been loaded into the browser cache after forcing the victim to search in the background, leaking private data such as emails, tokens, card numbers and notes across several Google products. The attacker could therefore infer sensitive information about the user without direct access to it.

medium.com

Published on medium.com

A couple of months back, I took a part in researching dangers that come from Cache Probing Attack and new ways to exploit the vulnerability across multiple platforms. I was able to prove that it was possible to leak significant information about the user on several Google products such as their private emails, tokens…

terjanq, on 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 browser cache was shared across sites and its contents could be observed by a cross-origin page, so a site could infer whether a resource had been loaded.

Impact

The attacker could leak significant private information about the user across several Google products, though browsers and Google later added protections that mitigate this class of attack.

What the attacker needed

Victim visits attacker's site; victim uses a vulnerable browser; attacker-chosen search phrases

The fix

Google and browser vendors implemented protections such as Fetch Metadata request headers, COOP, HTTP cache partitioning, a shorter Referer header and removal of the Chrome XSS Auditor, and Google suspended these reports in its VRP.

How it was found

  1. The attacker controls a malicious website.
  2. On that site, the attacker removes a specific resource from the browser cache.
  3. The malicious site forces the user to search in the background for attacker-chosen phrases, for example by manipulating window.opener.
  4. The malicious site checks whether the resource was loaded by probing the browser cache.

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 your browser loads a page, it keeps a copy of some files in a local store called the cache so it can load them faster next time. A malicious website can put a known file in that cache, make your browser quietly search for something, then check whether the file was fetched again. If it was, the attacker learns something about what you searched for or what data your account holds.

What is Cache bugs?

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.

Similar reports

View all

Same bug class and techniques, clearest first.

Web cache poisoning and deception

The lesson behind this report.

A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.