Skip to content
XSS Disclosed report CVE-2012-0474

universal XSS by confusing docshell with short-circuited loads

Chris McGowen Follow

Originally disclosed on Mozilla

  • Fixed in 11 days
  • Paid in 16 months
  • Disclosed after 11 days
Text
Created attachment 607410
9.html

User Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Build ID: 20120215223356

Steps to reproduce:

Use javascript to open new window of location on same domain.
On new window, history.pushState change to same or other location on same domain. 
Change location of window to foreign website.
History.back.
History.forward.
History.back.


Actual results:

Foreign website is loaded with my url. 
Also, the javascript on that page then sends requests to my domain. Private information can be obtained from these requests.


Expected results:

Loading of a different domain should cancel the history change.

The original report as published on Mozilla's Bugzilla, by Chris McGowen. 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.

What is known

A XSS bug in DOM: Navigation. Mozilla made it public on 30 March 2012 as CVE-2012-0474.

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.

More by Chris McGowen

View all

1 more disclosed report, 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.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.