XSS using timed document navigations
Originally disclosed on Mozilla
- Fixed in 4 months
- Paid in 3 months
- Disclosed after 4 months
It is possible to load an arbitrary website with the document's baseURI pointing to a malicious server, which allows script injection or data theft when the page accesses a relative path.
The exploit performs several navigations to achieve a stable result. It seems to me that the crucial part is the following sequence:
opener.history.go(0);
opener.history.forward();
opener.location.hash='a';
In certain circumstances, the late hash navigation appears to confuse the browser to adopt the same BFCache and/or share a history entry between the 2 adjacent, cross-origin pages.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity XSS bug in DOM: Navigation. Mozilla made it public on 21 February 2013 as CVE-2013-0793.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.