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

===========================================================================
                         AUSCERT Security Bulletin

                               ASB-2013.0048
   A number of vulnerabilities have been identified in Mozilla Firefox,
          Firefox ESR, Thunderbird, Thunderbird ESR and SeaMonkey
                               3 April 2013

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              Mozilla Firefox
                      Mozilla Firefox ESR
                      Mozilla Thunderbird
                      Mozilla Thunderbird ESR
                      Mozilla SeaMonkey
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
                      Android
Impact/Access:        Execute Arbitrary Code/Commands -- Remote with User Interaction
                      Increased Privileges            -- Remote with User Interaction
                      Modify Arbitrary Files          -- Remote with User Interaction
                      Cross-site Scripting            -- Remote with User Interaction
                      Denial of Service               -- Remote with User Interaction
                      Provide Misleading Information  -- Remote with User Interaction
                      Access Confidential Data        -- Remote with User Interaction
Resolution:           Patch/Upgrade
CVE Names:            CVE-2013-0800 CVE-2013-0799 CVE-2013-0798
                      CVE-2013-0797 CVE-2013-0796 CVE-2013-0795
                      CVE-2013-0794 CVE-2013-0793 CVE-2013-0792
                      CVE-2013-0791 CVE-2013-0790 CVE-2013-0789
                      CVE-2013-0788  
Member content until: Friday, May  3 2013

OVERVIEW

        A number of vulnerabilities have been identified in Mozilla Firefox
        prior to version 20.0, Firefox ESR prior to version 17.0.5, 
        Thunderbird prior to version 17.0.5, Thunderbird ESR prior to version 
        17.0.5, and SeaMonkey prior to version 2.17.


IMPACT

        The vendor has provided the following details regarding these 
        vulnerabilities:
        
        MFSA 2013-30: "Mozilla developers identified and fixed several 
        memory safety bugs in the browser engine used in Firefox and other 
        Mozilla-based products. Some of these bugs showed evidence of memory
        corruption under certain circumstances, and we presume that with 
        enough effort at least some of these could be exploited to run 
        arbitrary code.
        
        Olli Pettay, Jesse Ruderman, Boris Zbarsky, Christian Holler, Milan
        Sreckovic, and Joe Drew reported memory safety problems and crashes
        that affect Firefox ESR 17, and Firefox 19.
        
        Memory safety bugs fixed in Firefox 17.0.5 and Firefox 20.0 
        (CVE-2013-0788)
        
        Andrew McCreight, Randell Jesup, Gary Kwong, Jesse Ruderman, 
        Christian Holler, and Mats Palmgren reported memory safety problems
        and crashes that affect Firefox 19.
        
        Memory safety bugs fixed in Firefox 20.0 (CVE-2013-0789)
        
        Jim Chen reported a memory safety problem that affects Firefox for 
        Android 19.
        
        Stack corruption in plug-in code (CVE-2013-0790)" [1]
        
        MFSA 2013-31: "Security researcher Abhishek Arya (Inferno) of the 
        Google Chrome Security Team used the Address Sanitizer tool to 
        discover an out-of-bounds write in Cairo graphics library. When 
        certain values are passed to it during rendering, Cairo attempts to
        use negative boundaries or sizes for boxes, leading to a potentially
        exploitable crash in some instances.
        
        OOB Write in pixman_fill_sse2 (CVE-2013-0800)" [2]
        
        MFSA 2013-32: "Security researcher Frédéric Hoguin discovered that 
        the Mozilla Maintenance Service on Windows was vulnerable to a 
        buffer overflow. This system is used to update software without 
        invoking the User Account Control (UAC) prompt. The Mozilla 
        Maintenance Service is configured to allow unprivileged users to 
        start it with arbitrary arguments. By manipulating the data passed 
        in these arguments, an attacker can execute arbitrary code with the
        system privileges used by the service. This issue requires local 
        file system access to be exploitable.
        
        Mozilla Maintenance Service buffer overflow (CVE-2013-0799)" [3]
        
        MFSA 2013-33: "Security researcher Shuichiro Suzuki of the 
        Fourteenforty Research Institute reported the app_tmp directory is 
        set to be world readable and writeable by Firefox for Android. This
        potentially allows for third party applications to replace or alter
        Firefox add-ons when downloaded because they are temporarily stored
        in the app_tmp directory before installation.
        
        Installation directory rights allows all (CVE-2013-0798)" [4]
        
        MSFA 2013-34: "Security researcher Ash reported an issue with the 
        Mozilla Updater. The Mozilla Updater can be made to load a malicious
        local DLL file in a privileged context through either the Mozilla 
        Maintenance Service or independently on systems that do not use the
        service. This occurs when the DLL file is placed in a specific 
        location on the local system before the Mozilla Updater is run. 
        Local file system access is necessary in order for this issue to be
        exploitable.
        
        DLL planting vulnerability in Mozilla updater (CVE-2013-0797)" [5]
        
        MFSA 2013-35: "Security researcher miaubiz used the Address 
        Sanitizer tool to discover a crash in WebGL rendering when memory is
        freed that has not previously been allocated. This issue only 
        affects Linux users who have Intel Mesa graphics drivers. The 
        resulting crash could be potentially exploitable.
        
        freeing unallocated address with webgl (CVE-2013-0796)" [6]
        
        MFSA 2013-36: "Security researcher Cody Crews reported a mechanism 
        to use the cloneNode method to bypass System Only Wrappers (SOW) and
        clone a protected node. This allows violation of the browser's same
        origin policy and could also lead to privilege escalation and the 
        execution of arbitrary code.
        
        Bypass of SOW protections allows cloning of protected node 
        (CVE-2013-0795)" [7]
        
        MFSA 2013-37: "Security researcher shutdown reported a method for 
        removing the origin indication on tab-modal dialog boxes in 
        combination with browser navigation. This could allow an attacker's
        dialog to overlay a page and show another site's content. This can 
        be used for phishing by allowing users to enter data into a modal 
        prompt dialog on an attacking, site while appearing to be from the 
        displayed site.
        
        Tab modal dialog spoofing (CVE-2013-0794)" [8]
        
        MFSA 2013-38: "Security researcher Mariusz Mlynski reported a method
        to use browser navigations through history to load an arbitrary 
        website with that page's baseURI property pointing to another site 
        instead of the seemingly loaded one. The user will continue to see 
        the incorrect site in the addressbar of the browser. This allows for
        a cross-site scripting (XSS) attack or the theft of data through a 
        phishing attack.
        
        XSS using timed document navigations (CVE-2013-0793)" [9]
        
        MFSA 2013-39: "Mozilla community member Tobias Schula reported that
        if gfx.color_management.enablev4 preference is enabled manually in 
        about:config, some grayscale PNG images will be rendered incorrectly
        and cause memory corruption during PNG decoding when certain color 
        profiles are in use. A crafted PNG image could use this flaw to leak
        data through rendered images drawing from random memory. By default,
        this preference is not enabled.
        
        some grayscale PNG images display improperly when 
        "gfx.color_management.enablev4" is enabled (CVE-2013-0792)" [10]
        
        MFSA 2013-40: "Mozilla community member Ambroz Bizjak reported an 
        out-of-bounds array read in the CERT_DecodeCertPackage function of 
        the Network Security Services (NSS) libary when decoding a 
        certificate. When this occurs, it will lead to memory corruption and
        a non-exploitable crash.
        
        CERT_DecodeCertPackage reads bytes outside the input buffer 
        (CVE-2013-0791)" [11]


MITIGATION

        It is recommended that users update to the latest versions of 
        Mozilla Firefox, Firefox ESR, Thunderbird, Thunderbird ESR and 
        SeaMonkey to correct these issues.


REFERENCES

        [1] Mozilla Foundation Security Advisory 2013-30
            http://www.mozilla.org/security/announce/2013/mfsa2013-30.html

        [2] Mozilla Foundation Security Advisory 2013-31
            http://www.mozilla.org/security/announce/2013/mfsa2013-31.html

        [3] Mozilla Foundation Security Advisory 2013-32
            http://www.mozilla.org/security/announce/2013/mfsa2013-32.html

        [4] Mozilla Foundation Security Advisory 2013-33
            http://www.mozilla.org/security/announce/2013/mfsa2013-33.html

        [5] Mozilla Foundation Security Advisory 2013-34
            http://www.mozilla.org/security/announce/2013/mfsa2013-34.html

        [6] Mozilla Foundation Security Advisory 2013-35
            http://www.mozilla.org/security/announce/2013/mfsa2013-35.html

        [7] Mozilla Foundation Security Advisory 2013-36
            http://www.mozilla.org/security/announce/2013/mfsa2013-36.html

        [8] Mozilla Foundation Security Advisory 2013-37
            http://www.mozilla.org/security/announce/2013/mfsa2013-37.html

        [9] Mozilla Foundation Security Advisory 2013-38
            http://www.mozilla.org/security/announce/2013/mfsa2013-38.html

        [10] Mozilla Foundation Security Advisory 2013-39
             http://www.mozilla.org/security/announce/2013/mfsa2013-39.html

        [11] Mozilla Foundation Security Advisory 2013-40
             http://www.mozilla.org/security/announce/2013/mfsa2013-40.html

AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. The decision to
follow or act on information or advice contained in this security bulletin is
the responsibility of each user or organisation, and should be considered in
accordance with your organisation's site policies and procedures. AusCERT
takes no responsibility for consequences which may arise from following or
acting on information or advice contained in this security bulletin.

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours 
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUVufUe4yVqjM2NGpAQICAxAArUGgi0seNCRw1kVX4it7j6dMiaJrBB6f
/pgeRUh1mN2FP80JwQ35ytP60Tnuj6yI8HUA1XI2Nzk3795ULNha/ISVLIlWg+SH
4n5wpVM+e6Zn8OAd9V443uXhrtGJrWo7fFJBUme8mP/dNndC/sFCursFEfrSpivJ
92fPLNrjIhpWUitRzPmmLou5Bq7zMwkMjlB7L62A7gBmqTbDd+Hj8iRiZmlctg/R
4yTkMZrFDCKuC678ET0d1IHhyvrtxj9mZyGFEV5MlYsxHYtARPhxKSS51QgGQ+JT
fVmHBAlFLZvAZtW9k6PWgvkt4Px9ZraVppYmoU0Vo2wFhI1EoSMc6/gHFIICNlkd
ybdxFwLqUbMqwhEfJY791sQmAaNWZJsNm1sOkmkxlAxEsoInVQAdnYTdjNMTWzLQ
BKIYej3AIZPTPdPloqByy8jU71uOuZiCZc/pAXHs1HV+VD4xNCUxOyDf+mNJFidl
98DNLrLAoIQtmtnGX/7iwDI4B0HOHmMUwVXMS+kUgHx+wh7WFfFTHepUl1yRbRnL
09UEj+xi28S4DidjkebmGdhM3/PxrtY6T3FpL7PgbVMP2tb/u8Vaa22YqHnOmAfW
xo5Gybf85VpxX0j8Vq04F15HH6TfHCHYolNppL3Doa2BVCJp20fxGnqxcY/zTAkc
wzvh2VhmXdI=
=kLik
-----END PGP SIGNATURE-----