History state error with late navigation involving a hash change
Originally disclosed on Mozilla
- Fixed in 39 days
- Paid in 6 months
- Disclosed after 39 days
Docshell is still vulnerable to the history state issue described in bug 757376 if the write to location.hash is substituted for a history navigation involving a hash change. Suppose the history object is in the following state:
[0]: http://attacker
[1]: http://attacker#hash (active)
[2]: http://victim
Calling history.forward and history.back in a rapid succession will cause the targeted website to load into the existing session history entry 0:
[0]: http://attacker (active)
[1]: http://attacker#hash
[2]: http://victim
A subsequent call to history.forward changes |baseURI|, which allows the attacker to inject a script loaded from a relative path (XSS) or intercept data posted to a location specified with a relative path.
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 security bug in DOM: Navigation. Mozilla made it public on 26 August 2012 as CVE-2012-3992.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.