Mozilla javascript code execution

mozilla-javascript-code-execution (20443) The risk level is classified as HighHigh Risk

Description:

Mozilla could allow a remote attacker to execute arbitrary commands, caused by improper validation of user supplied input. A remote attacker could inject JavaScript in the src parameter of an IFRAME tag or in the iconURL parameter of the InstallTrigger.install function, which is called when installing Firefox extension or theme add-ons. An attacker could exploit this vulnerability by creating a malicious Web page and hosting it on a Web site or by sending it to a victim as an HTML email.

Platforms Affected:

  • Gentoo, Linux
  • Mozilla, Firefox 1.0.3
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 4 Desktop
  • RedHat, Enterprise Linux 4 ES
  • RedHat, Enterprise Linux 4 WS
  • RedHat, Enterprise Linux 4 AS
  • RedHat, Linux Advanced Workstation 2.1 Itanium

Remedy:

Mozilla has partially patched this vulnerability on the server side. Random numbers and letters have been added to the InstallTrigger.install function to prevent specific exploits from running successfully.

For Gentoo Linux:
Upgrade to the latest version of mozilla or firefox (1.0.4 or 1.7.8 later), as listed in GLSA 200505-11. See References.

For Red Hat Linux (Mozilla):
Refer to RHSA-2005:435-14 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux (Firefox):
Refer to RHSA-2005:434-10 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Gain Access

References:

  • CIAC INFORMATION BULLETIN P-206, Mozilla & Firefox Security Update at http://www.ciac.org/ciac/bulletins/p-206.shtml.
  • MFSA 2005-42, Code execution via javascript IconURL at http://www.mozilla.org/security/announce/mfsa2005-42.html.
  • Mozilla.org Web site, Bugzilla Bug 293302 - Firefox 1.0.3 Critical Vulnerability at https://bugzilla.mozilla.org/show_bug.cgi?id=293302.
  • BID-13544: Mozilla Firefox Install Method Remote Arbitrary Code Execution Vulnerability
  • BID-15495: SCO OpenServer Release 5.0.7 Maintenance Pack 4 Released - Multiple Vulnerabilities Fixed
  • CVE-2005-1476: Firefox 1.0.3 allows remote attackers to execute arbitrary Javascript in other domains by using an IFRAME and causing the browser to navigate to a previous javascript: URL, which can lead to arbitrary code execution when combined with CVE-2005-1477.
  • CVE-2005-1477: The install function in Firefox 1.0.3 allows remote web sites on the browser's whitelist, such as update.mozilla.org or addon.mozilla.org, to execute arbitrary Javascript with chrome privileges, leading to arbitrary code execution on the system when combined with vulnerabilities such as CVE-2005-1476, as demonstrated using a javascript: URL as the package icon and a cross-site scripting (XSS) attack on a vulnerable whitelist site.
  • FrSIRT/ADV-2005-0493: Mozilla Firefox Extensions Remote Code Execution Vulnerability
  • GLSA-200505-11: Mozilla Suite, Mozilla Firefox: Remote compromise
  • RHSA-2005-434: firefox security update
  • RHSA-2005-435: mozilla security update
  • SA15292: Mozilla Firefox Two Vulnerabilities
  • SECTRACK ID: 1013913: Firefox onload() History Access Bug and Install Function Scripting Execution Flaw Lets Remote Users Execute Arbitrary Code
  • US-CERT VU#534710: Mozilla fails to properly prevent JavaScript: URIs containing eval() from being executed in the context of other URIs in the history list
  • US-CERT VU#648758: Mozilla Firefox executes JavaScript in the IconURL parameter of InstallTrigger.install() with chrome privileges

Reported:

May 08, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page