Mozilla Foundation Security Advisory 2017-24

Security vulnerabilities fixed in Firefox 57

Announced
November 14, 2017
Impact
critical
Products
Firefox
Fixed in
  • Firefox 57

#CVE-2017-7828: Use-after-free of PressShell while restyling layout

Reporter
Nils
Impact
critical
Description

A use-after-free vulnerability can occur when flushing and resizing layout because the PressShell object has been freed while still in use. This results in a potentially exploitable crash during these operations.

References

#CVE-2017-7830: Cross-origin URL information leak through Resource Timing API

Reporter
Jun Kokatsu
Impact
high
Description

The Resource Timing API incorrectly revealed navigations in cross-origin iframes. This is a same-origin policy violation and could allow for data theft of URLs loaded by users.

References

#CVE-2017-7831: Information disclosure of exposed properties on JavaScript proxy objects

Reporter
Oriol Brufau
Impact
moderate
Description

A vulnerability where the security wrapper does not deny access to some exposed properties using the deprecated exposedProps mechanism on proxy objects. These properties should be explicitly unavailable to proxy objects.

References

#CVE-2017-7832: Domain spoofing through use of dotless 'i' character followed by accent markers

Reporter
Jonathan Kew
Impact
moderate
Description

The combined, single character, version of the letter 'i' with any of the potential accents in unicode, such as acute or grave, can be spoofed in the addressbar by the dotless version of 'i' followed by the same accent as a second character with most font sets. This allows for domain spoofing attacks because these combined domain names do not display as punycode.

References

#CVE-2017-7833: Domain spoofing with Arabic and Indic vowel marker characters

Reporter
Rayyan Bijoora
Impact
moderate
Description

Some Arabic and Indic vowel marker characters can be combined with Latin characters in a domain name to eclipse the non-Latin character with some font sets on the addressbar. The non-Latin character will not be visible to most viewers. This allows for domain spoofing attacks because these combined domain names do not display as punycode.

References

#CVE-2017-7834: data: URLs opened in new tabs bypass CSP protections

Reporter
Jordi Chancel
Impact
moderate
Description

A data: URL loaded in a new tab did not inherit the Content Security Policy (CSP) of the original page, allowing for bypasses of the policy including the execution of JavaScript. In prior versions when data: documents also inherited the context of the original page this would allow for potential cross-site scripting (XSS) attacks.

References

#CVE-2017-7835: Mixed content blocking incorrectly applies with redirects

Reporter
Ben Kelly
Impact
moderate
Description

Mixed content blocking of insecure (HTTP) sub-resources in a secure (HTTPS) document was not correctly applied for resources that redirect from HTTPS to HTTP, allowing content that should be blocked, such as scripts, to be loaded on a page.

References

#CVE-2017-7836: Pingsender dynamically loads libcurl on Linux and OS X

Reporter
Ezra Caltum
Impact
moderate
Description

The "pingsender" executable used by the Firefox Health Report dynamically loads a system copy of libcurl, which an attacker could replace. This allows for privilege escalation as the replaced libcurl code will run with Firefox's privileges.
Note: This attack requires an attacker have local system access and only affects OS X and Linux. Windows systems are not affected.

References

#CVE-2017-7837: SVG loaded as <img> can use meta tags to set cookies

Reporter
Jun Kokatsu
Impact
moderate
Description

SVG loaded through <img> tags can use <meta> tags within the SVG data to set cookies for that page.

References

#CVE-2017-7838: Failure of individual decoding of labels in international domain names triggers punycode display of entire IDN

Reporter
Corey Bonnell
Impact
low
Description

Punycode format text will be displayed for entire qualified international domain names in some instances when a sub-domain triggers the punycode display instead of the primary domain being displayed in native script and the sub-domain only displaying as punycode. This could be used for limited spoofing attacks due to user confusion.

References

#CVE-2017-7839: Control characters before javascript: URLs defeats self-XSS prevention mechanism

Reporter
Eric Lawrence
Impact
low
Description

Control characters prepended before javascript: URLs pasted in the addressbar can cause the leading characters to be ignored and the pasted JavaScript to be executed instead of being blocked. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks where users are convinced to copy and paste text into the addressbar.

References

#CVE-2017-7840: Exported bookmarks do not strip script elements from user-supplied tags

Reporter
Hanno Böck
Impact
low
Description

JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the resulting exported HTML file is later opened in a browser this JavaScript will be executed. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks if users were convinced to add malicious tags to bookmarks, export them, and then open the resulting file.

References

#CVE-2017-7842: Referrer Policy is not always respected for <link> elements

Reporter
Jun Kokatsu
Impact
low
Description

If a document’s Referrer Policy attribute is set to "no-referrer" sometimes two network requests are made for <link> elements instead of one. One of these requests includes the referrer instead of respecting the set policy to not include a referrer on requests.

References

#CVE-2017-7827: Memory safety bugs fixed in Firefox 57

Reporter
Mozilla developers and community
Impact
critical
Description

Mozilla developers and community members Boris Zbarsky, Carsten Book, Christian Holler, Byron Campen, Jan de Mooij, Jason Kratzer, Jesse Schwartzentruber, Marcia Knous, Randell Jesup, Tyson Smith, and Ting-Yu Chou reported memory safety bugs present in Firefox 56. 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.

References

#CVE-2017-7826: Memory safety bugs fixed in Firefox 57 and Firefox ESR 52.5

Reporter
Mozilla developers and community
Impact
critical
Description

Mozilla developers and community members Christian Holler, David Keeler, Jon Coppeard, Julien Cristau, Jan de Mooij, Jason Kratzer, Philipp, Nicholas Nethercote, Oriol Brufau, André Bargull, Bob Clary, Jet Villegas, Randell Jesup, Tyson Smith, Gary Kwong, and Ryan VanderMeulen reported memory safety bugs present in Firefox 56 and Firefox ESR 52.4. 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.

References