Mozilla Firefox addEventListener and setTimeout methods cross-site scripting

mozilla-addeventlistener-settimeout-xss (35462) The risk level is classified as MediumMedium Risk

Description:

Mozilla Firefox could allow a remote attacker to bypass the browser's same-origin policy and perform cross-site scripting attacks, caused by improper validation of user-supplied input. A remote attacker could exploit this vulnerability using the addEventListener and setTimeout methods to inject malicious script into another site which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

*CVSS:

Base Score: 4.2
  Access Vector: Remote
  Access Complexity: High
  Authentication: Not Required
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 3.7
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Refer to MFSA 2007-19 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2007:0724-4 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux (firefox):
Refer to USN-490-1 for patch, upgrade, or suggested workaround information. See References.

For Debian Linux (xulrunner):
Refer to DSA-1337-1 for patch, upgrade, or suggested workaround information. See References.

For Debian Linux (iceweasel):
Refer to DSA-1338-1 for patch, upgrade, or suggested workaround information. See References.

For Debian Linux (iceape):
Refer to DSA-1339-1 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (mozilla-firefox):
Refer to MDKSA-2007:152 for patch, upgrade, or suggested workaround information. See References.

For SUSE Linux:
Refer to SUSE-SA:2007:049 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (Mozilla):
Refer to GLSA 200708-09 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • MFSA 2007-19: XSS using addEventListener and setTimeout.
  • Sun Alert ID: 103177: Multiple Security Vulnerabilities in Firefox and Thunderbird for Solaris 10 May Allow Execution of Arbitrary Code and Access to Unauthorized Data.
  • ASA-2007-315: Thunderbird security update (RHSA-2007-0723)
  • ASA-2007-316: Seamonkey security update (RHSA-2007-0722)
  • ASA-2007-360: Firefox security update (RHSA-2007-0724)
  • ASA-2008-008: Multiple Security Vulnerabilities in Firefox and Thunderbird for Solaris 10 May Allow Execution of Arbitrary Code and Access to Unauthorized Data (Sun 103177)
  • BID-24946: Mozilla Firefox 2.0.0.4 Multiple Remote Vulnerabilities
  • CVE-2007-3736: Cross-site scripting (XSS) vulnerability in Mozilla Firefox before 2.0.0.5 allows remote attackers to inject arbitrary web script into another sites context via a timing issue involving the (1) addEventListener or (2) setTimeout function, probably by setting events that activate after the context has changed.
  • DSA-1337: xulrunner -- several vulnerabilities
  • DSA-1338: iceweasel -- several vulnerabilities
  • DSA-1339: iceape -- several vulnerabilities
  • GLSA-200708-09: Mozilla products: Multiple vulnerabilities
  • MDKSA-2007:152: Updated Firefox packages fix multiple vulnerabilities
  • MDVSA-2010:042: firefox
  • RHSA-2007-0722: Critical: seamonkey security update
  • RHSA-2007-0723: Moderate: thunderbird security update
  • RHSA-2007-0724: Critical: firefox security update
  • SA26095: Mozilla Firefox Multiple Vulnerabilities
  • SA28135: Sun Solaris Firefox / Thunderbird Multiple Vulnerabilities
  • SECTRACK ID: 1018410: Mozilla Firefox addEventListener() or setTimeout() Functions Permit Cross-Site Scripting Attacks
  • SUSE-SA:2007:049: Mozilla security problems
  • USN-490-1: Firefox vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007.1
  • MandrakeSoft Mandrake Linux 2007.1 X86_64
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • Mandriva Enterprise Server 5 X86_64
  • Mandriva Enterprise Server 5
  • Mandriva Linux 2009.1
  • Mandriva Linux 2009.1 X86_64
  • Mandriva Linux 2010 X86_64
  • Mandriva Linux 2010
  • Mozilla Firefox 2.0 Beta2
  • Mozilla Firefox 2.0 rc1
  • Mozilla Firefox 2.0
  • Mozilla Firefox 2.0 Beta1
  • Mozilla Firefox 2.0 rc2
  • Mozilla Firefox 2.0 rc3
  • Mozilla Firefox 2.0.0.1
  • Mozilla Firefox 2.0.0.2
  • Mozilla Firefox 2.0.0.3
  • Mozilla Firefox 2.0.0.4
  • Novell Linux Desktop 9
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell Open Enterprise Server
  • Novell OpenSUSE 10.2
  • Novell SUSE Linux Enterprise Desktop 10 SP1
  • Novell SUSE Linux Enterprise Server 10
  • Novell SUSE Linux Enterprise Server 10 SP1
  • Novell UnitedLinux 1.0
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4.5.z ES
  • RedHat Enterprise Linux 4.5.z AS
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Server
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux Desktop 5.0
  • RedHat Enterprise Linux Optional Productivity Applications 5 Server
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Sun Solaris 10 SPARC
  • Sun Solaris 10 x86
  • SuSE Linux Enterprise Server 8
  • SUSE SuSE Linux 10.0
  • SUSE SuSE Linux 10.1
  • SuSE SuSE Linux OpenExchange Server 4
  • SuSE SuSE Linux Retail Solution 8
  • SuSE SuSE Linux School Server
  • SuSE SuSE Linux Standard Server 8
  • SuSE SuSE SLES 9

Reported:

Jul 17, 2007

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

Return to the main page

* 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.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.