Mozilla Suite, Mozilla Firefox: Remote compromise — GLSA 200505-11

Several vulnerabilities in the Mozilla Suite and Firefox allow an attacker to conduct cross-site scripting attacks or to execute arbitrary code.

Affected packages

www-client/mozilla-firefox on all architectures
Affected versions < 1.0.4
Unaffected versions >= 1.0.4
www-client/mozilla-firefox-bin on all architectures
Affected versions < 1.0.4
Unaffected versions >= 1.0.4
www-client/mozilla on all architectures
Affected versions < 1.7.8
Unaffected versions >= 1.7.8
www-client/mozilla-bin on all architectures
Affected versions < 1.7.8
Unaffected versions >= 1.7.8

Background

The Mozilla Suite is a popular all-in-one web browser that includes a mail and news reader. Mozilla Firefox is the next-generation browser from the Mozilla project.

Description

The Mozilla Suite and Firefox do not properly protect "IFRAME" JavaScript URLs from being executed in context of another URL in the history list (CAN-2005-1476). The Mozilla Suite and Firefox also fail to verify the "IconURL" parameter of the "InstallTrigger.install()" function (CAN-2005-1477). Michael Krax and Georgi Guninski discovered that it is possible to bypass JavaScript-injection security checks by wrapping the javascript: URL within the view-source: or jar: pseudo-protocols (MFSA2005-43).

Impact

A malicious remote attacker could use the "IFRAME" issue to execute arbitrary JavaScript code within the context of another website, allowing to steal cookies or other sensitive data. By supplying a javascript: URL as the "IconURL" parameter of the "InstallTrigger.Install()" function, a remote attacker could also execute arbitrary JavaScript code. Combining both vulnerabilities with a website which is allowed to install software or wrapping javascript: URLs within the view-source: or jar: pseudo-protocols could possibly lead to the execution of arbitrary code with user privileges.

Workaround

Affected systems can be protected by disabling JavaScript. However, we encourage Mozilla Suite or Mozilla Firefox users to upgrade to the latest available version.

Resolution

All Mozilla Firefox users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-client/mozilla-firefox-1.0.4"

All Mozilla Firefox binary users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-client/mozilla-firefox-bin-1.0.4"

All Mozilla Suite users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-client/mozilla-1.7.8"

All Mozilla Suite binary users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-client/mozilla-bin-1.7.8"

References

Release date
May 15, 2005

Latest revision
May 15, 2005: 01

Severity
normal

Exploitable
remote

Bugzilla entries