=====================================================================
                                  CERT-Renater

                       Note d'Information No. 2004/VULN547
_____________________________________________________________________

DATE                      : 20/12/2004

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running mozilla-1.4.1-221 or earlier,
                                   mozilla-mail-1.4.1-223 or earlier.

======================================================================

    Sun(sm) Alert Notification
      * Sun Alert ID: 57701
      * Synopsis: Multiple Security Vulnerabilities in Mozilla
      * Category: Security
      * Product: Solaris, Java Desktop System (JDS)
      * BugIDs: 5090528, 5090529, 5090530, 5090583, 5091014, 5091109,
        5091115, 5091116, 5091120, 5091123, 5091146, 5108583, 5108586,
        5108587, 5108590, 5108591, 5108588
      * Avoidance: T-Patch
      * State: Engineering Complete
      * Date Released: 14-Dec-2004
      * Date Closed:
      * Date Modified:

    1. Impact Multiple security vulnerabilities in Mozilla may result in
    one or more of the following issues:

    1. A buffer overflow exists that may allow a a remote unprivileged
    user the ability to execute arbitrary code with the privileges of a
    local user when that local user has loaded a Portable Network Graphics
    (PNG) format image file supplied by an untrusted remote user.

    This issue is described in the following document:

      * [2]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687

    2. An integer overflow and a heap corruption exists in JavaScript that
    may allow an unprivileged user the ability to execute arbitrary code
    with the privileges of a local user running Mozilla.

    This issue is described in the following document:

      * [3]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0722

    3. A heap overflow exists that could allow a malicious POP3 server to
    send a carefully crafted response that may allow a remote unprivileged
    user the ability to execute arbitrary code with the privileges of a
    local user running Mozilla.

    This issue is described in the following document:

      * [4]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0757

    4. Additional heap overflows and double frees exist that could allow a
    malicious POP3 server to send a carefully crafted response that may
    cause a Denial of Service (DOS) attack for the client or may allow a
    remote unprivileged user the ability to execute arbitrary code with
    the privileges of the local user running Mozilla.

    This issue is described in the following document:

      * [5]https://bugzilla.mozilla.org/show_bug.cgi?id=245066

    5. It may be possible to import an invalid CA certificate with a
    Domain Name the same as that of the built-in CA root certificates.
    This could cause a denial of service (DOS) to SSL pages.

    This issue is described in the following document:

      * [6]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0758

    6. By using a NULL character (%00) in a FTP URL, Mozilla can be
    confused into opening a resource as a different MIME type. This may
    allow an unprivileged user to gain the privileges of a local user
    running Mozilla.

    This issue is described in the following document:

      * [7]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0760

    7. Mozilla may allow a malicious website to inject content into a
    frame. This flaw is also known as the "frame injection" vulnerability.

    This issue is described in the following document:

      * [8]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0718

    8. Mozilla may allow a malicious webpage to use a redirect sequence to
    spoof the security lock icon thus causing the webpage to appear to be
    encrypted.

    This issue is described in the following document:

      * [9]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0761

    9. Mozilla may allow malicious websites to install arbitrary
    extensions by using interactive events to manipulate the "XP Install
    Security" dialog box.

    This issue is described in the following document:

      * [10]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-076
        2

    10. Mozilla contains a caching flaw which may allow malicious websites
    to spoof certificates of trusted websites via redirects and Javascript
    that uses the "onunload" method.

    This issue is described in the following document:

      * [11]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-076
        3

    11. Mozilla contains a flaw that allows malicious websites to hijack
    the user interface via the "chrome" flag and XML User Interface
    Language (XUL) files.

    This issue is described in the following document:

      * [12]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-076
        4

    12. Mozilla may allow a malicious website to spoof Mozilla into
    thinking it was accessing a trusted host. This is due to a flaw when
    verifying a certificate where as the hostname checked is not the fully
    qualified domain name (FQDN).

    This issue is described in the following document:

      * [13]http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-076
        5

    13. Mozilla contains a flaw that could allow malicious javascript to
    obtain or modify sensitive information from secure sites by dragging
    links onto other frames or pages.

    This issue is described in the following document:

      * [14]https://bugzilla.mozilla.org/show_bug.cgi?id=250862

    14. An integer overflow exists that may allow a remote unprivileged
    user to execute arbitrary code with the privileges of a local user
    when that local user has loaded an extremely wide Bitmap (.bmp) format
    image file supplied by an untrusted user.

    This issue is described in the following document:

      * [15]https://bugzilla.mozilla.org/show_bug.cgi?id=255067

    15. Mozilla contains a flaw that could allow malicious javascript code
    to read and write sensitive data that the user might have copied into
    the clipboard.

    This issue is described in the following document:

      * [16]https://bugzilla.mozilla.org/show_bug.cgi?id=257523

    16. A heap overflow exists in the "send page" function that may allow
    a remote unprivileged user the ability to execute arbitrary code with
    the privileges of a local user when that user attempts to forward
    content to others.

    This issue is described in the following document:

      * [17]https://bugzilla.mozilla.org/show_bug.cgi?id=258005

    17. A buffer overflow exists when displaying VCards that may allow a
    remote unprivileged user the ability to execute arbitrary code with
    the privileges of a local user.

    This issue is described in the following document:

      * [18]https://bugzilla.mozilla.org/show_bug.cgi?id=257314

    2. Contributing Factors These issues can occur on the following
    platforms:

    SPARC Platform

      * Solaris 8
      * Solaris 9

    x86 Platform

      * Solaris 8
      * Solaris 9

    Linux

      * Sun Java Desktop System (JDS) 2003
      * Sun Java Desktop System (JDS) Release 2 without the updated RPMs
        (patch-118492-02)

    Note: Solaris 7 is not affected by these issues.

    The described issues only occur with the following Mozilla versions:

      * mozilla-1.4.1-221 or earlier
      * mozilla-mail-1.4.1-223 or earlier

    To determine the version of Mozilla installed on a system, the
    following command can be used:

     % /usr/sfw/bin/mozilla -version
       Mozilla 1.4, (Sun Java Desktop System; Solaris), build 2004041404


    To determine the release of JDS for Linux installed on a system, the
    following command can be used:

     % cat /etc/sun-release
     Sun Java Desktop System, Release 2 -build 10b (GA)
     Assembled 30 March 2004


    To determine the version of Mozilla for Linux, run the following
    command on JDS:

     % rpm -qf /usr/bin/mozilla /usr/lib/mozilla-1.4/components/libmsgnews.so
     mozilla-1.4.1-221
     mozilla-mail-1.4.1-223

    3. Symptoms There are no predictable symptoms that would indicate the
    described issues have been exploited.

    Solution Summary [19]Top

    4. Relief/Workaround Preliminary T-patches are available for the
    following releases from [20]http://sunsolve.sun.com/tpatches:

    SPARC

      * Solaris 9 T-patch T117767-02

    x86 Platform

      * Solaris 9 T-patch T117768-02

    This document refers to one or more preliminary temporary patches
    (T-Patches) which are designed to address the concerns identified
    herein. Sun has limited experience with these patches due to their
    preliminary nature. As such, you should only install the patches on
    systems meeting the configurations described above. Sun may release
    full patches at a later date, however, Sun is under no obligation
    whatsoever to create, release, or distribute any such patch.

    5. Resolution These issues are addressed in the following release:

      * Sun Java Desktop System (JDS) Release 2 with the updated RPMs
        (patch-118492-02)

    To download and install the updated RPMs from the update servers
    select the following from the launch bar:

     Launch >> Applications >> System Tools >> Online Update


    For more information on obtaining updates see:

      * [21]http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
      * [22]http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

    A final resolution is pending completion.

    This Sun Alert notification is being provided to you on an "AS IS"
    basis. This Sun Alert notification may contain information provided by
    third parties. The issues described in this Sun Alert notification may
    or may not impact your system(s). Sun makes no representations,
    warranties, or guarantees as to the information contained herein. ANY
    AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
    WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
    NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
    YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
    INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
    OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
    This Sun Alert notification contains Sun proprietary and confidential
    information. It is being provided to you pursuant to the provisions of
    your agreement to purchase services from Sun, or, if you do not have
    such an agreement, the Sun.com Terms of Use. This Sun Alert
    notification may only be used for the purposes contemplated by these
    agreements.

    Copyright 2000-2004 Sun Microsystems, Inc., 4150 Network Circle, Santa
    Clara, CA 95054 U.S.A. All rights reserved.

References

    1. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57701-1#top
    2. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0687
    3. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0722
    4. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0757
    5. https://bugzilla.mozilla.org/show_bug.cgi?id=245066
    6. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0758
    7. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0760
    8. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0718
    9. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0761
   10. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0762
   11. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0763
   12. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0764
   13. http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0765
   14. http://bugzilla.mozilla.org/show_bug.cgi?id=250862
   15. https://bugzilla.mozilla.org/show_bug.cgi?id=255067
   16. https://bugzilla.mozilla.org/show_bug.cgi?id=257523
   17. https://bugzilla.mozilla.org/show_bug.cgi?id=258005
   18. https://bugzilla.mozilla.org/show_bug.cgi?id=257314
   19. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57701-1#top
   20. http://sunsolve.sun.com/tpatches
   21. http://wwws.sun.com/software/javadesktopsystem/faq.html#5q5
   22. http://wwws.sun.com/software/javadesktopsystem/faq.html#5q7

======================================================================

         =========================================================
         Les serveurs de référence du CERT-Renater
         http://www.urec.fr/securite
         http://www.cru.fr/securite
         http://www.renater.fr
         =========================================================
         + CERT-RENATER          | tel : 01-53-94-20-44          +
         + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
         + 75013 Paris           | email: certsvp@renater.fr     +
         =========================================================






