Mozilla Foundation Security Advisory 2018-12

Security vulnerabilities fixed in Firefox ESR 52.8

Announced
May 9, 2018
Impact
critical
Products
Firefox ESR
Fixed in
  • Firefox ESR 52.8

#CVE-2018-5183: Backport critical security fixes in Skia

Reporter
Mozilla Developers
Impact
critical
Description

Mozilla developers backported selected changes in the Skia library to the ESR52 branch of Firefox. These changes correct memory corruption issues including invalid buffer reads and writes during graphic operations.

References

#CVE-2018-5154: Use-after-free with SVG animations and clip paths

Reporter
Nils
Impact
high
Description

A use-after-free vulnerability can occur while enumerating attributes during SVG animations with clip paths. This results in a potentially exploitable crash.

References

#CVE-2018-5155: Use-after-free with SVG animations and text paths

Reporter
Nils
Impact
high
Description

A use-after-free vulnerability can occur while adjusting layout during SVG animations with text paths. This results in a potentially exploitable crash.

References

#CVE-2018-5157: Same-origin bypass of PDF Viewer to view protected PDF files

Reporter
Wladimir Palant
Impact
high
Description

Same-origin protections for the PDF viewer can be bypassed, allowing a malicious site to intercept messages meant for the viewer. This could allow the site to retrieve PDF files restricted to viewing by an authenticated user on a third-party website.

References

#CVE-2018-5158: Malicious PDF can inject JavaScript into PDF Viewer

Reporter
Wladimir Palant
Impact
high
Description

The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker.

References

#CVE-2018-5159: Integer overflow and out-of-bounds write in Skia

Reporter
Ivan Fratric
Impact
high
Description

An integer overflow can occur in the Skia library due to 32-bit integer use in an array without integer overflow checks, resulting in possible out-of-bounds writes. This could lead to a potentially exploitable crash triggerable by web content.

References

#CVE-2018-5168: Lightweight themes can be installed without user interaction

Reporter
Wladimir Palant
Impact
moderate
Description

Sites can bypass security checks on permissions to install lightweight themes by manipulating the baseURI property of the theme element. This could allow a malicious site to install a theme without user interaction which could contain offensive or embarrassing images.

References

#CVE-2018-5174: Windows Defender SmartScreen UI runs with less secure behavior for downloaded files in Windows 10 April 2018 Update

Reporter
Jimmy
Impact
moderate
Description

In the Windows 10 April 2018 Update, Windows Defender SmartScreen honors the SEE_MASK_FLAG_NO_UI flag associated with downloaded files and will not show any UI. Files that are unknown and potentially dangerous will be allowed to run because SmartScreen will not prompt the user for a decision, and if the user is offline all files will be allowed to be opened because Windows won’t prompt the user to ask what to do. Firefox incorrectly sets this flag when downloading files, leading to less secure behavior from SmartScreen.
Note: this issue only affects Windows 10 users running the April 2018 update or later. It does not affect other Windows users or other operating systems.

References

#CVE-2018-5178: Buffer overflow during UTF-8 to Unicode string conversion through legacy extension

Reporter
Root Object
Impact
moderate
Description

A buffer overflow was found during UTF8 to Unicode string conversion within JavaScript with extremely large amounts of data. This vulnerability requires the use of a malicious or vulnerable legacy extension in order to occur.

References

#CVE-2018-5150: Memory safety bugs fixed in Firefox 60 and Firefox ESR 52.8

Reporter
Mozilla developers and community
Impact
critical
Description

Mozilla developers and community members Christoph Diehl, Randell Jesup, Tyson Smith, Alex Gaynor, Ronald Crane, Julian Hector, Kannan Vijayan, and Jason Kratzer reported memory safety bugs present in Firefox 59 and Firefox ESR 52.7. 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