Mozilla javascript code execution
| mozilla-javascript-code-execution (20443) |
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.
*CVSS:
| Base Score: | 5.6 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 4.6 |
| Exploitability: | Functional |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
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.
References:
- CIAC INFORMATION BULLETIN P-206: Mozilla & Firefox Security Update.
- MFSA 2005-42: Code execution via javascript IconURL.
- Mozilla.org Web site: Bugzilla Bug 293302 - Firefox 1.0.3 Critical Vulnerability.
- 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.
- 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
- VUPEN/ADV-2005-0493: Mozilla Firefox Extensions Remote Code Execution Vulnerability
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
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 (IBM 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.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
