Skip to content
Info disclosure Disclosed report Intermediate

Resource Timing API leaks URL after subframe navigation again

The Resource Timing API in Chrome leaked a cross-origin URL after a subframe navigation via a meta refresh redirect. An attacker could learn the final URL of a cross-origin resource loaded in a subframe.

Jun Follow

Originally disclosed on Mozilla

  • Fixed in 26 days
  • Paid in 31 days
  • Disclosed after 26 days
Text
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

Steps to reproduce:

1. Go to https://attack.shhnjk.com/get_resource.html
2. Wait for 3 seconds


Actual results:

Cross-origin URL after redirect is leaked.


Expected results:

Bug 1408990 seems to be fixed on Nightly, but PoC on https://bugzilla.mozilla.org/show_bug.cgi?id=1408990#c5 still works (i.e. subframe redirect with meta refresh). This should also be fixed. I will try to see if I have other navigation that triggers same bug.

Now you can coordinate with Chrome too :)

The original report as published on Mozilla's Bugzilla, by Jun. 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 Resource Timing API did not properly clear or restrict timing entries for subframe navigations that involved a meta refresh redirect, allowing the final cross-origin URL to be exposed.

What the attacker needed

Victim visits a malicious page; browser supports Resource Timing API

The fix

The browser should be updated to prevent Resource Timing from exposing cross-origin URLs after subframe navigations involving meta refresh redirects.

How it was found

  1. Visit the proof-of-concept page that triggers the resource load.
  2. Wait a few seconds for the redirect and timing data to be recorded.

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 web page loads a resource from another site, the browser normally hides the final address after any redirects to protect privacy. Here, a timing feature in the browser accidentally revealed that final address. An attacker could use this to discover where a private link leads.

What is Info disclosure?

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

More by Jun

View all

17 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.