-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mozilla Foundation Security Advisory 2005-42
Title: Code execution via javascript: IconURL
Severity: Critical
Reporter: Paul (Greyhats)
Products: Firefox, Mozilla Suite
Description
Two vulnerabilities were found in Mozilla Firefox that combined allow an attacker to run arbitrary
code. The Mozilla Suite is only partially vulnerable.
By causing a frame to navigate back to a previous javascript: url an attacker can inject script into
any site. This could be used to steal cookies or sensitive data from that site, or to perform actions
on behalf of that user. (Affects Firefox and the Suite).
A separate vulnerability in the Firefox install confirmation dialog allows an attacker to execute
arbitrary code by using a javascript: URL as the package icon. By default only the Mozilla Foundation
update site is allowed to bring up this dialog, but the script injection vulnerability described above
enables this to be exploited from any malicious site.
The Mozilla Foundation has modified the update servers to prevent their use in this attack, but this
is only partial protection.
Workaround
Disable Javascript. Software updates can be disabled, but that protects only against the second issue
and not the first.
References
https://bugzilla.mozilla.org/show_bug.cgi?id=293302
(originally
https://bugzilla.mozilla.org/show_bug.cgi?id=292691)