Australia's Leading Computer Emergency Response Team

ASB-2012.0063 - [Win][UNIX/Linux] Firefox, Thunderbird and SeaMonkey: Multiple vulnerabilities
Date: 26 April 2012
Original URL: http://auscert.org.au/render.html?cid=35&it=15756
References: ESB-2012.0258  ASB-2012.0045  ESB-2012.0404  ESB-2012.0405  ESB-2012.0433  ESB-2012.0898  

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ASB-2012.0063
            New versions of Firefox, Thunderbird, and SeaMonkey
                               26 April 2012

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

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

Product:              Firefox
                      Thunderbird
                      SeaMonkey
Operating System:     Windows
                      UNIX variants (UNIX, Linux, OSX)
Impact/Access:        Execute Arbitrary Code/Commands -- 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
                      Reduced Security                -- Remote/Unauthenticated      
                      Unauthorised Access             -- Remote with User Interaction
Resolution:           Patch/Upgrade
CVE Names:            CVE-2012-1144 CVE-2012-1143 CVE-2012-1142
                      CVE-2012-1141 CVE-2012-1140 CVE-2012-1139
                      CVE-2012-1138 CVE-2012-1137 CVE-2012-1136
                      CVE-2012-1135 CVE-2012-1134 CVE-2012-1133
                      CVE-2012-1132 CVE-2012-1131 CVE-2012-1130
                      CVE-2012-1129 CVE-2012-1128 CVE-2012-1127
                      CVE-2012-1126 CVE-2012-0479 CVE-2012-0478
                      CVE-2012-0477 CVE-2012-0475 CVE-2012-0474
                      CVE-2012-0473 CVE-2012-0472 CVE-2012-0471
                      CVE-2012-0470 CVE-2012-0469 CVE-2012-0468
                      CVE-2012-0467 CVE-2011-3062 CVE-2011-1187
Member content until: Saturday, May 26 2012
Reference:            ASB-2012.0045
                      ESB-2012.0258

Comment: With the release of Firefox 12, the 3.6.x branch has reached its end 
         of life, and is no longer supported by Mozilla.

OVERVIEW

        Many vulnerabilities have been fixed in Mozilla Firefox and
        Thunderbird and in SeaMonkey.[1]


IMPACT

        The vendor has provided the following details about the vulnerabilities:
        
        "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." MFSA 2012-20 [2]
        
        "Mateusz Jurczyk of the Google Security Team used the Address Sanitizer 
        tool to discover a series of memory safety bugs in the FreeType library, 
        some of which could cause memory corruption and exploitable crashes with 
        certain fonts and font parsing. Firefox Mobile has been upgraded to 
        FreeType version 2.4.9 which addresses these issues. Desktop Firefox 
        does not use Freetype for fonts and was not affected." MFSA 2012-21 [3]
        
        "Using the Address Sanitizer tool, security researcher Aki Helin from 
        OUSPG found that IDBKeyRange of indexedDB remains in the XPConnect 
        hashtable instead of being unlinked before being destroyed. When it is 
        destroyed, this causes a use-after-free, which is potentially 
        exploitable." MFSA 2012-22 [4]
        
        "Using the Address Sanitizer tool, security researcher Atte Kettunen 
        from OUSPG found a heap corruption in gfxImageSurface which allows for 
        invalid frees and possible remote code execution. This happens due to 
        float error, resulting from graphics values being passed through 
        different number systems." MFSA 2012-23 [5]
        
        "Anne van Kesteren of Opera Software found a multi-octet encoding 
        issue where certain octets will destroy the following octets in the 
        processing of some multibyte character sets. This can leave users 
        vulnerable to cross-site scripting (XSS) attacks on maliciously crafted 
        web pages." MFSA 2012-24 [6]
        
        "Security research firm iDefense reported that researcher wushi of 
        team509 discovered a memory corruption on Windows Vista and Windows 7 
        systems with hardware acceleration disabled or using incompatible 
        video drivers. This is created by using cairo-dwrite to attempt to 
        render fonts on an unsupported code path. This corruption causes a 
        potentially exploitable crash on affected systems." MFSA 2012-25 [7]
        
        "Mozilla community member Matias Juntunen discovered an error in 
        WebGLBuffer where FindMaxElementInSubArray receives wrong template 
        arguments from FindMaxUshortElement. This bug causes maximum index to 
        be computed incorrectly within WebGL.drawElements, allowing the 
        reading of illegal video memory." MFSA 2012-26 [8]
        
        "Security researchers Jordi Chancel and Eddy Bordi reported that they 
        could short-circuit page loads to show the address of a different site 
        than what is loaded in the window in the addressbar. Security 
        researcher Chris McGowen independently reported the same flaw, and 
        further demonstrated that this could lead to loading scripts from the 
        attacker's site, leaving users vulnerable to cross-site scripting (XSS) 
        attacks." MFSA 2012-27 [9]
        
        "Security researcher Simone Fabiano reported that if a cross-site XHR 
        or WebSocket is opened on a web server on a non-standard port for web 
        traffic while using an IPv6 address, the browser will send an 
        ambiguous origin headers if the IPv6 address contains at least 2 
        consecutive 16-bit fields of zeroes. If there is an origin access 
        control list that uses IPv6 literals, this issue could be used to 
        bypass these access controls on the server." MFSA 2012-28 [10]
        
        "Security researcher Masato Kinugawa found that during the decoding of 
        ISO-2022-KR and ISO-2022-CN character sets, characters near 1024 bytes 
        are treated incorrectly, either doubling or deleting bytes. On certain 
        pages it might be possible for an attacker to pad the output of the 
        page such that these errors fall in the right place to affect the 
        structure of the page, allowing for cross-site script (XSS) 
        injection." MFSA 2012-29 [11]
        
        "Mozilla community member Ms2ger found an image rendering issue with 
        WebGL when texImage2D uses use JSVAL_TO_OBJECT on arbitrary objects. 
        This can lead to a crash on a maliciously crafted web page. While 
        there is no evidence that this is directly exploitable, there is a 
        possibility of remote code execution." MFSA 2012-30 [12]
        
        "Mateusz Jurczyk of the Google Security Team discovered an off-by-one 
        error in the OpenType Sanitizer using the Address Sanitizer tool. 
        This can lead to an out-of-bounds read and execution of an 
        uninitialized function pointer during parsing and possible remote 
        code execution." MFSA 2012-31 [13]
        
        "Security researcher Daniel Divricean reported that a defect in the 
        error handling of javascript errors can leak the file names and 
        location of javascript files on a server, leading to inadvertent 
        information disclosure and a vector for further attacks." 
        MFSA 2012-32 [14]
        
        "Security researcher Jeroen van der Gun reported that if RSS or Atom 
        XML invalid content is loaded over HTTPS, the addressbar updates to 
        display the new location of the loaded resource, including SSL 
        indicators, while the main window still displays the previously 
        loaded content. This allows for phishing attacks where a malicious 
        page can spoof the identify of another seemingly secure site."
        MFSA 2012-33 [15]


MITIGATION

        Users of the affected versions should upgrade to the latest versions:
        - Firefox: 12 or 10.0.4
        - Thunderbird: 12 or 10.0.4
        - SeaMonkey: 2.9


REFERENCES

        [1] Mozilla Foundation Security Advisories
            https://www.mozilla.org/security/announce/

        [2] Mozilla Foundation Security Advisory 2012-20
            https://www.mozilla.org/security/announce/2012/mfsa2012-20.html

        [3] Mozilla Foundation Security Advisory 2012-21
            https://www.mozilla.org/security/announce/2012/mfsa2012-21.html

        [4] Mozilla Foundation Security Advisory 2012-22
            https://www.mozilla.org/security/announce/2012/mfsa2012-22.html

        [5] Mozilla Foundation Security Advisory 2012-23
            https://www.mozilla.org/security/announce/2012/mfsa2012-23.html

        [6] Mozilla Foundation Security Advisory 2012-24
            https://www.mozilla.org/security/announce/2012/mfsa2012-24.html

        [7] Mozilla Foundation Security Advisory 2012-25
            https://www.mozilla.org/security/announce/2012/mfsa2012-25.html

        [8] Mozilla Foundation Security Advisory 2012-26
            https://www.mozilla.org/security/announce/2012/mfsa2012-26.html

        [9] Mozilla Foundation Security Advisory 2012-27
            https://www.mozilla.org/security/announce/2012/mfsa2012-27.html

        [10] Mozilla Foundation Security Advisory 2012-28
             https://www.mozilla.org/security/announce/2012/mfsa2012-28.html

        [11] Mozilla Foundation Security Advisory 2012-29
             https://www.mozilla.org/security/announce/2012/mfsa2012-29.html

        [12] Mozilla Foundation Security Advisory 2012-30
             https://www.mozilla.org/security/announce/2012/mfsa2012-30.html

        [13] Mozilla Foundation Security Advisory 2012-31
             https://www.mozilla.org/security/announce/2012/mfsa2012-31.html

        [14] Mozilla Foundation Security Advisory 2012-32
             https://www.mozilla.org/security/announce/2012/mfsa2012-32.html

        [15] Mozilla Foundation Security Advisory 2012-33
             https://www.mozilla.org/security/announce/2012/mfsa2012-33.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

iQIVAwUBT5i7Pu4yVqjM2NGpAQICXRAAmntiQLhH6faSsaxfqDN462pPbUTdGF5j
yZ9Q8d0/STIP1ctyk1+V6pIc89HM/v0Ykh+2cP7GMaASCt0zYajGWfErpD9imJsK
bkSp9QGamPWH3G8n+jr5N89VHEw9DKdHVdX+bPBwiempj1uc+rNUTmubWHmZzFzA
TIO5aUVMXDwU0Q2x8y9SIfziS5pIifyzDg6eJeDzah4L9OYVE6Tw7f2bsoaPezZG
RxgE24/D61PtkpeYF01nbHPGDb9cgcH6/i1cqgD95ungDTV1c8ynforVzMkXZ/Lf
2yo3+Wb7SmK2DClNXyYosxcyEjE/laeFITLVQA/EFJHTqduNTCTbo3TEYMyo1vlc
0K1csNk+VDNf+qo/sFCKuAXWXLGF20Sp0eo6yMU9izs2HOI74RGX+BA1O8N6ynFt
WWcWY8/YlwDUxieppoyVFtRoyO0YQcddnibE8hGTBn/lg7J+JRnHLCGpTQEYx5gE
mthMPN9rhK1WfKCIYyoCAfCfZLsFHPDh6KNUVwtCeEDpTxFP4HfJBLU27dvylGZX
4eJkTg2qyRyABGgyzigYGQtnq2xB1p1mFokGTjBNlbC16N7+MeYGoRTZahIhq3Us
ZzjfdZYjkcXraWaOJW9BV7Be39Zum2qJVBaMiz0JC9LeBzDkMmlGxQln+1fFgJC+
hnqZ6k9VZ0Q=
=VcJs
-----END PGP SIGNATURE-----