Mozilla Firefox and SeaMonkey jar: URI cross-site scripting

firefox-jar-uri-xss (38356) The risk level is classified as MediumMedium Risk

Description:

Mozilla Firefox and SeaMonkey is vulnerable to cross-site scripting, caused by improper validation of jar: URIs. A remote attacker could exploit this vulnerability using a specially-crafted jar: URL to execute script in a victim's Web browser within the security context of the hosting Web site, once the URL is clicked. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

This vulnerability is only exploitable on Web sites that allow users to upload image, archive, and certain other file types.

*CVSS:

Base Score: 4.3
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 3.7
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

For Mozilla Firefox and SeaMonkey:
Refer to MFSA 2007-37 for patch, upgrade, or suggested workaround information. See References.

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

References:

  • Bugzilla@Mozilla - Bug 369814: (jarxss) - jar: protocol is an XSS hazard due to ignoring mime type and being considered same-origin with hosting site.
  • Full-Disclosure Mailing List, Thu Nov 08 2007 - 18:16:45 CST: JAR: protocol vulnerability in Firefox, word processing applications reported.
  • GNUCITIZEN Blog, November 7th, 2007: Web Mayhem: Firefox¿s JAR: Protocol issues.
  • MFSA 2007-37: jar: URI scheme XSS hazard.
  • Netscape Web site: Release Notes: What's New in Netscape Navigator 9.0.0.4.
  • Sun Alert ID: 231441: Multiple Security Vulnerabilities in Solaris 10 Firefox and Thunderbird.
  • ASA-2007-492: seamonkey security update (RHSA-2007-1084)
  • ASA-2007-494: Firefox security update (RHSA-2007-1082)
  • ASA-2007-536: thunderbird security update (RHSA-2007-1083)
  • ASA-2008-085: Multiple Security Vulnerabilities in Solaris 10 Firefox and Thunderbird (Sun 231441)
  • BID-26385: Mozilla Firefox Jar URI Cross-Site Scripting Vulnerability
  • CVE-2007-5947: The jar protocol handler in Mozilla Firefox before 2.0.0.10 and SeaMonkey before 1.1.7 retrieves the inner URL regardless of its MIME type, and considers HTML documents within a jar archive to have the same origin as the inner URL, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a jar: URI.
  • CVE-2007-6589: The jar protocol handler in Mozilla Firefox before 2.0.0.10 and SeaMonkey before 1.1.7 does not update the origin domain when retrieving the inner URL parameter yields an HTTP redirect, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a jar: URI, a different vulnerability than CVE-2007-5947.
  • DSA-1424: iceweasel -- several vulnerabilities
  • DSA-1425: xulrunner -- several vulnerabilities
  • GLSA-200712-21: Mozilla Firefox, SeaMonkey: Multiple vulnerabilities
  • MDKSA-2007:246: Updated Firefox packages fix multiple vulnerabilities
  • RHSA-2007-1082: Critical: firefox security update
  • RHSA-2007-1083: Moderate: thunderbird security update
  • RHSA-2007-1084: Critical: seamonkey security update
  • SA27605: Mozilla Firefox "jar:" Protocol Handling Cross-Site Scripting Security Issue
  • SA27800: Netscape Multiple Vulnerabilities
  • SA27816: SeaMonkey Multiple Vulnerabilities
  • SECTRACK ID: 1018928: Mozilla Firefox Input Validation Hole in jar: Protocol Handler Permits Cross-Site Scripting Attacks
  • SUSE-SA:2007:066: Mozilla Firefox security update
  • US-CERT VU#715737: Mozilla-based browsers jar: URI cross-site scripting vulnerability
  • USN-546-1: Firefox vulnerabilities
  • USN-546-2: Firefox regression
  • VUPEN/ADV-2007-3818: Mozilla Firefox JAR Protocol Client-Side Cross Site Scripting Vulnerability
  • VUPEN/ADV-2007-4002: Mozilla Products Memory Corruption and Cross-site Request Forgery Issues
  • VUPEN/ADV-2007-4018: Netscape Browser Security Update Fixes Multiple Remote Vulnerabilities
  • VUPEN/ADV-2008-0083: HP-UX Security Update Fixes Firefox Command Execution Vulnerabilities
  • VUPEN/ADV-2008-0643: Sun Solaris Firefox and Thunderbird Code Execution Vulnerabilities

Platforms Affected:

  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Canonical Ubuntu 7.04
  • Canonical Ubuntu 7.10
  • Debian Debian Linux 4.0
  • Gentoo Linux
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux 2007
  • 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
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • Mozilla Firefox 2.0
  • Mozilla Firefox 2.0.0.1
  • Mozilla Firefox 2.0.0.2
  • Mozilla Firefox 2.0.0.3
  • Mozilla Firefox 2.0.0.4
  • Mozilla Firefox 2.0.0.5
  • Mozilla Firefox 2.0.0.6
  • Mozilla Firefox 2.0.0.7
  • Mozilla Firefox 2.0.0.8
  • Mozilla Firefox 2.0.0.9
  • Mozilla SeaMonkey 1.1.0
  • Mozilla SeaMonkey 1.1.1
  • Mozilla SeaMonkey 1.1.2
  • Mozilla SeaMonkey 1.1.3
  • Mozilla SeaMonkey 1.1.4
  • Mozilla SeaMonkey 1.1.5
  • Mozilla SeaMonkey 1.1.6
  • Novell Linux Desktop 9
  • Novell OpenSUSE 10.2
  • Novell OpenSUSE 10.3
  • Novell SUSE Linux Enterprise Desktop 10 SP1
  • Novell SUSE Linux Enterprise Server 10
  • Novell SUSE Linux Enterprise Server 10 SP1
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4.5.z ES
  • RedHat Enterprise Linux 4.5.z AS
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5 Client
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux Optional Productivity Applications 5 Server
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • SUSE SuSE Linux 10.0
  • SUSE SuSE Linux 10.1
  • Turbolinux Turbolinux 11 Server
  • Turbolinux Turbolinux 11 Server x64 Ed
  • Turbolinux Turbolinux FUJI
  • Turbolinux Turbolinux wizpy

Reported:

Nov 07, 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 xforce@iss.net

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 Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.