Crash if javascript code makes more than 100 unique cross domain requests
- Fixed in 6 days
- Paid in 2.3 years
- Disclosed after 6 days
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16
We have a web page using JQuery 1.5.1 that makes a POST ajax request to a REST web service on another domain.
Firefox sends a preflighting OPTIONS request, then the POST.
If the server responds with a header of Access-Control-Max-Age set to a number of seconds longer than it takes to make 100 unique uri requests, firefox crashes.
On the 101st unique URL post request, Firefox makes the 101st OPTIONS request to the server, which replies, then Firefox crashes with the attached crash dump.
Reproducible: Always
Steps to Reproduce:
1. Edit CrossDomainTest.html line 22 to point to a REST webservice
2. Ensure the webservice response includes a header of Access-Control-Max-Age set to something like "1728000" which is 20 days.
3. Open the page in Firefox
4. On the 101 request Firefox crashes.
Actual Results:
Firefox crashed and showed the submit crash dump dialog.
Expected Results:
Firefox should continue to make requests.
This is related to the submitted crash dump
ID: 7636c991-6b98-4abf-b2c4-7ea2c2110322
Module: xul.dll
When no "Access-Control-Max-Age" header is defined in the web service response Firefox continues to make more than 101 requests.
We are unsure if this bug could be exploited so we are setting the "Many users could be harmed" option until further investigation confirms the extent of this issue.
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 doS bug in DOM: Core & HTML. Mozilla made it public on 29 March 2011 as CVE-2011-0069.
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.