Bug 188777 - CVE-2006-1741 Cross-site JavaScript injection using event handlers
Summary: CVE-2006-1741 Cross-site JavaScript injection using event handlers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mozilla
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact: Ben Levenson
URL:
Whiteboard: reported=20060412,source=mozilla,emba...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-13 02:14 UTC by Josh Bressers
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-24 15:32:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Josh Bressers 2006-04-13 02:14:10 UTC
Cross-site JavaScript injection using event handlers


shutdown reported a method of injecting running JavaScript code into a page
on another site using a modal alert to suspend an event handler while a new
page is being loaded. This vulnerability allows an attacker to steal any
confidential information the new page might contain, including any passwords
and cookies which might allow the attacker to log on to that site as the
victim.

shutdown also reported a variant using the two-argument form of eval() that
did  not  require  a  modal  dialog  and would be much less obtrusive.
moz_bug_r_a4 reported two variants that bypassed our initial fixes, one
using  "new  Script()",  the  other  extending the eval() attack using
window.__proto__

Note: Thunderbird shares the JavaScript engine with Firefox and could be
vulnerable if JavaScript were to be enabled in mail. This is not the default
setting and we strongly discourage users from running JavaScript in mail.

Workaround

Disable JavaScript until you can upgrade to a fixed version.

References

Original vulnerability:
[1]https://bugzilla.mozilla.org/show_bug.cgi?id=296514
Firefox 1.5 fix:
[2]https://bugzilla.mozilla.org/show_bug.cgi?id=296639
Alternate fix for Firefox 1.0.8/Mozilla Suite 1.7.13:
[3]https://bugzilla.mozilla.org/show_bug.cgi?id=316589
Variants:
[4]https://bugzilla.mozilla.org/show_bug.cgi?id=311024
[5]https://bugzilla.mozilla.org/show_bug.cgi?id=311619
[6]https://bugzilla.mozilla.org/show_bug.cgi?id=316589


This issue also affects FC4

Comment 1 Josh Bressers 2006-04-24 12:30:54 UTC
Lifting embargo

Comment 2 David Eisenstein 2006-06-24 15:32:13 UTC
This bug was fixed for FC4 in Fedora Update FEDORA-2006-488
<http://www.redhat.com/archives/fedora-package-announce/2006-May/msg00019.html>.

This bug was fixed for FC5 in Fedora Update FEDORA-2006-487
<http://www.redhat.com/archives/fedora-package-announce/2006-May/msg00018.html>.


Note You need to log in before you can comment on or make changes to this bug.