Skip to content
DoS Disclosed report CVE-2012-3988

Firefox crashes by mozRequestFullScreen and history.back function

Soroush Dalili Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 6 months
  • Paid in 11 months
  • Disclosed after 6 months
Text
Created attachment 595841
mozFullScreen-Back-Crash.html

User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11

Steps to reproduce:

When history.length is greater than 1 (back button is enabled) and user initiate the click button:
Calling the "mozRequestFullScreen()" function and then "history.go(-1)" can cause a crash or a DoS in Mozilla Firefox.
I have created a test case that will replicate the issue. 

As the Offset value can change, it can be a security issue as well. However, I could not find out the reason for this offset change.

Please also verify if it can be a case for the bug bounty.


Actual results:

Mozilla Firefox show the crash reporter
Or
It becomes unresponsive

If you cannot see this result, please use the provided attach file and do it again. Note: Your history should not be empty.


Expected results:

It should disable the full screen and then redirect the user to the previous page.

The original report as published on Mozilla's Bugzilla, by Soroush Dalili. 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 critical-severity doS bug in DOM: Core & HTML. Mozilla made it public on 15 August 2012 as CVE-2012-3988.

About DoS

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Soroush Dalili

View all

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

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.