Resource Timing API leaks URL after subframe navigation
The Resource Timing API in Chrome leaked a cross-origin URL after a subframe navigation and redirect. An attacker could learn the final URL of a cross-origin resource loaded in a subframe.
- Fixed in 14 days
- Paid in 14 days
- Disclosed after 14 days
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Steps to reproduce:
1. Go to https://attack.shhnjk.com/resource_check.html
2. Wait for 3 seconds
Actual results:
Cross-origin URL after redirect is leaked.
Expected results:
This should not be leaked.
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
What the attacker needed
Victim uses Chrome; victim visits attacker page
How it was found
- Open the provided test page in Chrome.
- Wait three seconds for the subframe and redirect to complete.
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.
Websites can measure how long resources take to load using a browser feature called the Resource Timing API. Normally, for privacy, it hides the full web address of resources from other sites. Here, after a redirect inside a subframe, the browser revealed that hidden address, so a malicious page could find out where a victim was redirected.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.