Hash: SHA256

                         AUSCERT Security Bulletin

               Security vulnerabilities fixed in Firefox 59
                               15 March 2018


        AusCERT Security Bulletin Summary

Product:              Firefox
Operating System:     Windows
                      Linux variants
                      Mac OS
Impact/Access:        Execute Arbitrary Code/Commands -- Remote with User Interaction
                      Increased Privileges            -- 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
                      Read-only Data Access           -- Remote with User Interaction
Resolution:           Patch/Upgrade
CVE Names:            CVE-2018-5143 CVE-2018-5142 CVE-2018-5141
                      CVE-2018-5140 CVE-2018-5138 CVE-2018-5137
                      CVE-2018-5136 CVE-2018-5135 CVE-2018-5134
                      CVE-2018-5133 CVE-2018-5132 CVE-2018-5131
                      CVE-2018-5130 CVE-2018-5129 CVE-2018-5128
                      CVE-2018-5127 CVE-2018-5126 CVE-2018-5125
Member content until: Friday, April 13 2018

Revision History:     March 15 2018: This bulletin erroneously listed Firefox
				     Extended Support Release as affected.
                      March 14 2018: Initial Release


        Security vulnerabilities have been fixed in Firefox 59.


        Mozilla has given the following information concerning these
        CVE-2018-5127: Buffer overflow manipulating SVG animatedPathSegList
        A buffer overflow can occur when manipulating the SVG animatedPathSegList
        through script. This results in a potentially exploitable crash.
        CVE-2018-5128: Use-after-free manipulating editor selection ranges
        A use-after-free vulnerability can occur when manipulating elements, events,
        and selection ranges during editor operations. This results in a potentially
        exploitable crash.
        CVE-2018-5129: Out-of-bounds write with malformed IPC messages
        A lack of parameter validation on IPC messages results in a potential
        out-of-bounds write through malformed IPC messages. This can potentially allow
        for sandbox escape through memory corruption in the parent process.
        CVE-2018-5130: Mismatched RTP payload type can trigger memory corruption
        When packets with a mismatched RTP payload type are sent in WebRTC connections,
        in some circumstances a potentially exploitable crash is triggered.
        CVE-2018-5131: Fetch API improperly returns cached copies of no-store/no-cache
        Under certain circumstances the fetch() API can return transient local copies
        of resources that were sent with a no-store or no-cache cache header instead of
        downloading a copy from the network as it should. This can result in previously
        stored, locally cached data of a website being accessible to users if they
        share a common profile while browsing.
        CVE-2018-5132: WebExtension Find API can search privileged pages
        The Find API for WebExtensions can search some privileged pages, such as
        about:debugging, if these pages are open in a tab. This could allow a malicious
        WebExtension to search for otherwise protected data if a user has it open.
        CVE-2018-5133: Value of the app.support.baseURL preference is not properly
        If the app.support.baseURL preference is changed by a malicious local program
        to contain HTML and script content, this content is not sanitized. It will be
        executed if a user loads chrome://browser/content/preferences/in-content/
        preferences.xul directly in a tab and executes a search. This stored preference
        is also executed whenever an EME video player plugin displays a CDM-disabled
        message as a notification message.
        CVE-2018-5134: WebExtensions may use view-source: URLs to bypass content
        WebExtensions may use view-source: URLs to view local file: URL content, as
        well as content stored in about:cache, bypassing restrictions that only allow
        WebExtensions to view specific content.
        CVE-2018-5135: WebExtension browserAction can inject scripts into unintended
        WebExtensions can bypass normal restrictions in some circumstances and use
        browser.tabs.executeScript to inject scripts into contexts where this should
        not be allowed, such as pages from other WebExtensions or unprivileged about:
        CVE-2018-5136: Same-origin policy violation with data: URL shared workers
        A shared worker created from a data: URL in one tab can be shared by another
        tab with a different origin, bypassing the same-origin policy.
        CVE-2018-5137: Script content can access legacy extension
        non-contentaccessible resources
        A legacy extension's non-contentaccessible, defined resources can be loaded by
        an arbitrary web page through script. This script does this by using a
        maliciously crafted path string to reference the resources.
        Note: this vulnerability does not affect WebExtensions.
        CVE-2018-5138: Android Custom Tab address spoofing through long domain names
        A spoofing vulnerability can occur when a malicious site with an extremely long
        domain name is opened in an Android Custom Tab (a browser panel inside another
        app) and the default browser is Firefox for Android. This could allow an
        attacker to spoof which page is actually loaded and in use.
        Note: this issue only affects Firefox for Android. Other versions and operating
        systems are unaffected.
        CVE-2018-5140: Moz-icon images accessible to web content through moz-icon:
        Image for moz-icons can be accessed through the moz-icon: protocol through
        script in web content even when otherwise prohibited. This could allow for
        information leakage of which applications are associated with specific MIME
        types by a malicious page.
        CVE-2018-5141: DOS attack through notifications Push API
        A vulnerability in the notifications Push API where notifications can be sent
        through service workers by web content without direct user interaction. This
        could be used to open new tabs in a denial of service (DOS) attack or to
        display unwanted content from arbitrary URLs to users.
        CVE-2018-5142: Media Capture and Streams API permissions display incorrect
        origin with data: and blob: URLs
        If Media Capture and Streams API permission is requested from documents with
        data: or blob: URLs, the permission notifications do not properly display the
        originating domain. The notification states "Unknown protocol" as the
        requestee, leading to user confusion about which site is asking for this
        CVE-2018-5143: Self-XSS pasting javascript: URL with embedded tab into
        URLs using javascript: have the protocol removed when pasted into the
        addressbar to protect users from cross-site scripting (XSS) attacks, but if a
        tab character is embedded in the javascript: URL the protocol is not removed
        and the script will execute. This could allow users to be socially engineered
        to run an XSS attack against themselves.
        CVE-2018-5126: Memory safety bugs fixed in Firefox 59
        Mozilla developers and community members Calixte Denizet, Christian Holler,
        Sebastian Hengst, Jason Kratzer, Tyson Smith, Ryan VanderMeulen, Noemi Erli,
        Karl Tomlinson, Philipp, Gary Kwong, and Ronald Crane reported memory safety
        bugs present in Firefox 58. Some of these bugs showed evidence of memory
        corruption and we presume that with enough effort that some of these could be
        exploited to run arbitrary code.
        CVE-2018-5125: Memory safety bugs fixed in Firefox 59 and Firefox ESR 52.7
        Mozilla developers and community members Bob Clary, Olli Pettay, Christian
        Holler, Nils Ohlmeier, Randell Jesup, Tyson Smith, Ralph Giles, and Philipp
        reported memory safety bugs present in Firefox 58 and Firefox ESR 52.6. Some of
        these bugs showed evidence of memory corruption and we presume that with enough
        effort that some of these could be exploited to run arbitrary code.


        Mozilla recommends updating Firefox to version 59. [1]


        [1] Security vulnerabilities fixed in Firefox 59

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
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.
Comment: http://www.auscert.org.au/render.html?it=1967