SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Web Browser)  >   Mozilla Browser Vendors:   Mozilla.org
(Red Hat Issues Fix for RH Linux) Mozilla Event Handler Document Transition Flaw Permits Cross-Site Scripting Attacks
SecurityTracker Alert ID:  1009481
SecurityTracker URL:  http://securitytracker.com/id/1009481
CVE Reference:   CVE-2004-0191   (Links to External Site)
Date:  Mar 18 2004
Impact:   Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): Affects versions prior to 1.6
Description:   A vulnerability was reported in the Mozilla browser in the processing of event handlers during the transition of documents. A remote user can conduct cross-site scripting attacks.

Andreas Sandblad reported that a remote user can create HTML containing a specially crafted link that, when loaded on the target user's browser, may execute arbitrary javascript events in the security context of the new page.

The flaw reportedly resides in 'nsDOMClassInfo.cpp' and occurs when a large number of event handlers are used within HTML tags.

A remote user can create specially crafted HTML that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser in the context of an arbitrary site in that site's security domain. The code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A limited amount of user interaction may be required.

The vendor was reportedly notified on December 2, 2003.

The original bug report (containing some demonstration exploit HTML) is available at:

http://bugzilla.mozilla.org/show_bug.cgi?id=227417

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with an arbitrary site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Solution:   Red Hat has released a fix.

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/galeon-1.2.13-0.9.0.src.rpm
ftp://updates.redhat.com/9/en/os/SRPMS/mozilla-1.4.2-0.9.0.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/galeon-1.2.13-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-chat-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-devel-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-dom-inspector-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-js-debugger-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-mail-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nspr-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nspr-devel-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nss-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nss-devel-1.4.2-0.9.0.i386.rpm

The verification checksums are:

MD5 sum Package Name

992ef9250ed9c98cebbb8dece0b42a40 9/en/os/SRPMS/galeon-1.2.13-0.9.0.src.rpm
392c1e8d54668de9114ced4cb26f2239 9/en/os/SRPMS/mozilla-1.4.2-0.9.0.src.rpm
4246168924d57be9a4b3549e119c0fa7 9/en/os/i386/galeon-1.2.13-0.9.0.i386.rpm
0fba1f22954569f2fe62b20c12badde8 9/en/os/i386/mozilla-1.4.2-0.9.0.i386.rpm
f36041c9afacb8ac07d7caf0ffba5636 9/en/os/i386/mozilla-chat-1.4.2-0.9.0.i386.rpm
134a3539d5f3d3de4456bb2c2b70948d 9/en/os/i386/mozilla-devel-1.4.2-0.9.0.i386.rpm
0bfad47e55d2d8202a5dc80b504cf68b 9/en/os/i386/mozilla-dom-inspector-1.4.2-0.9.0.i386.rpm
e5a9af2c6b720adb3ca8f831568ce208 9/en/os/i386/mozilla-js-debugger-1.4.2-0.9.0.i386.rpm
8909de56f2915ffb9c3adbedad0da0dc 9/en/os/i386/mozilla-mail-1.4.2-0.9.0.i386.rpm
f4d1279c459694868473c8ad2609b490 9/en/os/i386/mozilla-nspr-1.4.2-0.9.0.i386.rpm
3a2f9360085c0ecb0a312da2dec1e703 9/en/os/i386/mozilla-nspr-devel-1.4.2-0.9.0.i386.rpm
5198348d07a15c8a064688baf03f4aea 9/en/os/i386/mozilla-nss-1.4.2-0.9.0.i386.rpm
cb849bc1da29db4d3e5a9e50e708fae6 9/en/os/i386/mozilla-nss-devel-1.4.2-0.9.0.i386.rpm

Vendor URL:  bugzilla.mozilla.org/show_bug.cgi?id=227417 (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  9

Message History:   This archive entry is a follow-up to the message listed below.
Feb 25 2004 Mozilla Event Handler Document Transition Flaw Permits Cross-Site Scripting Attacks



 Source Message Contents

Subject:  [RHSA-2004:112-01] Updated Mozilla packages fix security issues


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated Mozilla packages fix security issues
Advisory ID:       RHSA-2004:112-01
Issue date:        2004-03-17
Updated on:        2004-03-17
Product:           Red Hat Linux
Keywords:          nss mozilla
Cross references:  
Obsoletes:         
CVE Names:         CAN-2003-0564 CAN-2003-0594 CAN-2004-0191
- ---------------------------------------------------------------------

1. Topic:

Updated Mozilla packages that fix vulnerabilities in S/MIME parsing as well
as other issues and bugs are now available.

2. Relevant releases/architectures:

Red Hat Linux 9 - i386

3. Problem description:

Mozilla is a Web browser and mail reader, designed for standards
compliance, performance and portability.  Network Security Services (NSS)
is a set of libraries designed to support cross-platform development of
security-enabled server applications. 

NISCC testing of implementations of the S/MIME protocol uncovered a number
of bugs in NSS versions prior to 3.9.   The parsing of unexpected ASN.1
constructs within S/MIME data could cause Mozilla to crash or consume large
amounts of memory.  A remote attacker could potentially trigger these bugs
by sending a carefully-crafted S/MIME message to a victim.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2003-0564 to this issue. 

Andreas Sandblad discovered a cross-site scripting issue that affects
various versions of Mozilla.  When linking to a new page it is still
possible to interact with the old page before the new page has been
successfully loaded. Any Javascript events will be invoked in the context
of the new page, making cross-site scripting possible if the different
pages belong to different domains.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0191 to
this issue. 

Flaws have been found in the cookie path handling between a number of Web
browsers and servers. The HTTP cookie standard allows a Web server
supplying a cookie to a client to specify a subset of URLs on the origin
server to which the cookie applies. Web servers such as Apache do not
filter returned cookies and assume that the client will only send back
cookies for requests that fall within the server-supplied subset of URLs.
However, by supplying URLs that use path traversal (/../) and character
encoding, it is possible to fool many browsers into sending a cookie to a
path outside of the originally-specified subset.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2003-0594 to this issue. 

Users of Mozilla are advised to upgrade to these updated packages, which
contain Mozilla version 1.4.2 and are not vulnerable to these issues.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

If up2date fails to connect to Red Hat Network due to SSL Certificate 
Errors, you need to install a version of the up2date client with an updated 
certificate.  The latest version of up2date is available from the Red Hat 
FTP site and may also be downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. RPMs required:

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/galeon-1.2.13-0.9.0.src.rpm
ftp://updates.redhat.com/9/en/os/SRPMS/mozilla-1.4.2-0.9.0.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/galeon-1.2.13-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-chat-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-devel-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-dom-inspector-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-js-debugger-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-mail-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nspr-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nspr-devel-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nss-1.4.2-0.9.0.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/mozilla-nss-devel-1.4.2-0.9.0.i386.rpm



6. Verificationx:

MD5 sum                          Package Name
- --------------------------------------------------------------------------

992ef9250ed9c98cebbb8dece0b42a40 9/en/os/SRPMS/galeon-1.2.13-0.9.0.src.rpm
392c1e8d54668de9114ced4cb26f2239 9/en/os/SRPMS/mozilla-1.4.2-0.9.0.src.rpm
4246168924d57be9a4b3549e119c0fa7 9/en/os/i386/galeon-1.2.13-0.9.0.i386.rpm
0fba1f22954569f2fe62b20c12badde8 9/en/os/i386/mozilla-1.4.2-0.9.0.i386.rpm
f36041c9afacb8ac07d7caf0ffba5636 9/en/os/i386/mozilla-chat-1.4.2-0.9.0.i386.rpm
134a3539d5f3d3de4456bb2c2b70948d 9/en/os/i386/mozilla-devel-1.4.2-0.9.0.i386.rpm
0bfad47e55d2d8202a5dc80b504cf68b 9/en/os/i386/mozilla-dom-inspector-1.4.2-0.9.0.i386.rpm
e5a9af2c6b720adb3ca8f831568ce208 9/en/os/i386/mozilla-js-debugger-1.4.2-0.9.0.i386.rpm
8909de56f2915ffb9c3adbedad0da0dc 9/en/os/i386/mozilla-mail-1.4.2-0.9.0.i386.rpm
f4d1279c459694868473c8ad2609b490 9/en/os/i386/mozilla-nspr-1.4.2-0.9.0.i386.rpm
3a2f9360085c0ecb0a312da2dec1e703 9/en/os/i386/mozilla-nspr-devel-1.4.2-0.9.0.i386.rpm
5198348d07a15c8a064688baf03f4aea 9/en/os/i386/mozilla-nss-1.4.2-0.9.0.i386.rpm
cb849bc1da29db4d3e5a9e50e708fae6 9/en/os/i386/mozilla-nss-devel-1.4.2-0.9.0.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key is
available from https://www.redhat.com/security/keys.html

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


7. References:

http://www.mozilla.org/projects/security/pki/nss/#NSS_39
http://bugzilla.mozilla.org/show_bug.cgi?id=227417
http://www.niscc.gov.uk/
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0564
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0594
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0191

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQFAWV0rXlSAg2UNWIIRAgPQAKCpqKIeBcehIqbTZ36sjMnH3C+gbgCfbsg1
PZd207bKJfrUeU8VANF4kZM=
=rXRz
-----END PGP SIGNATURE-----


_______________________________________________
Redhat-watch-list mailing list
To unsubscribe, visit: https://www.redhat.com/mailman/listinfo/redhat-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC