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

                             CERT-Renater

                 Note d'Information No. 2020/VULN472
_____________________________________________________________________

DATE                : 25/08/2020

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Firefox versions prior to 80,
                                  ESR 68.12, ESR 78.2.

=====================================================================
https://www.mozilla.org/en-US/security/advisories/mfsa2020-36/
https://www.mozilla.org/en-US/security/advisories/mfsa2020-37/
https://www.mozilla.org/en-US/security/advisories/mfsa2020-38/
_____________________________________________________________________


Mozilla Foundation Security Advisory 2020-36
Security Vulnerabilities fixed in Firefox 80

Announced      August 25, 2020
Impact         high
Products       Firefox
Fixed in
        Firefox 80

#CVE-2020-15663: Downgrade attack on the Mozilla Maintenance Service
could have resulted in escalation of privilege

Reporter      Xiaoyin Liu
Impact        high

Description

If Firefox is installed to a user-writable directory, the Mozilla
Maintenance Service would execute updater.exe from the install location
with administrative privileges. Although the Mozilla Maintenance Service
does ensure that updater.exe is signed by Mozilla, the version could
have been rolled back to a previous version which would have allowed
exploitation of an older bug and arbitrary code execution with system
privileges.
Note: This issue only affected Windows operating systems. Other
operating systems are unaffected.

References

    Bug 1643199


#CVE-2020-15664: Attacker-induced prompt for extension installation

Reporter      Kaizer Soze
Impact        high

Description

By holding a reference to the eval() function from an about:blank
window, a malicious webpage could have gained access to the
InstallTrigger object which would allow them to prompt the user to
install an extension. Combined with user confusion, this could result in
an unintended or malicious extension being installed.

References

    Bug 1658214


#CVE-2020-12401: Timing-attack on ECDSA signature generation

Reporter     Sohaib ul Hassan, Iaroslav Gridin, Ignacio M.
Delgado-Lozano, Cesar Pereida García, Jesús-Javier Chi-Domínguez,
Alejandro Cabrera Aldaya, and Billy Bob Brumley, Network and Information
Security (NISEC) Group, Tampere University, Finland
Impact        moderate


Description

During ECDSA signature generation, padding applied in the nonce designed
to ensure constant-time scalar multiplication was removed, resulting in
variable-time execution dependent on secret data.

References

    Bug 1631573


#CVE-2020-6829: P-384 and P-521 vulnerable to an electro-magnetic side
channel attack on signature generation

Reporter      Sohaib ul Hassan, Iaroslav Gridin, Ignacio M.
Delgado-Lozano, Cesar Pereida García, Jesús-Javier Chi-Domínguez,
Alejandro Cabrera Aldaya, and Billy Bob Brumley, Network and Information
Security (NISEC) Group, Tampere University, Finland
Impact         moderate

Description

When performing EC scalar point multiplication, the wNAF point
multiplication algorithm was used; which leaked partial information
about the nonce used during signature generation. Given an electro-
magnetic trace of a few signature generations, the private key could
have been computed.

References

    Bug 1631583


#CVE-2020-12400: P-384 and P-521 vulnerable to a side channel attack on
modular inversion

Reporter      Sohaib ul Hassan, Iaroslav Gridin, Ignacio M.
Delgado-Lozano, Cesar Pereida García, Jesús-Javier Chi-Domínguez,
Alejandro Cabrera Aldaya, and Billy Bob Brumley, Network and Information
Security (NISEC) Group, Tampere University, Finland
Impact         moderate


Description

When converting coordinates from projective to affine, the modular
inversion was not performed in constant time, resulting in a possible
timing-based side channel attack.

References

    Bug 1623116


#CVE-2020-15665: Address bar not reset when choosing to stay on a page
after the beforeunload dialog is shown

Reporter      Luan Herrera
Impact        moderate

Description

Firefox did not reset the address bar after the beforeunload dialog was
shown if the user chose to remain on the page. This could have resulted
in an incorrect URL being shown when used in conjunction with other
unexpected browser behaviors.

References

    Bug 1651636


#CVE-2020-15666: MediaError message property leaks cross-origin response
status

Reporter      Gunes Acar
Impact        low

Description

When trying to load a non-video in an audio/video context the exact
status code (200, 302, 404, 500, 412, 403, etc.) was disclosed via the
MediaError Message. This level of information leakage is inconsistent
with the standardized onerror/onsuccess disclosure and can lead to
inferring login status to services or device discovery on a local
network among other attacks.

References

    Bug 1450853

#CVE-2020-15667: Heap overflow when processing an update file

Reporter      crixer
Impact        low

Description

When processing a MAR update file, after the signature has been
validated, an invalid name length could result in a heap overflow,
leading to memory corruption and potentially arbitrary code execution.
Within Firefox as released by Mozilla, this issue is only exploitable
with the Mozilla-controlled signing key.

References

    Bug 1653371


#CVE-2020-15668: Data Race when reading certificate information

Reporter      Tyson Smith
Impact        low

Description

A lock was missing when accessing a data structure and importing
certificate information into the trust database.

References

    Bug 1651520


#CVE-2020-15670: Memory safety bugs fixed in Firefox 80 and Firefox ESR 78.2

Reporter      Mozilla developers
Impact        high

Description

Mozilla developers Jason Kratzer, Christian Holler, Byron Campen, and
Tyson Smith reported memory safety bugs present in Firefox 79 and
Firefox ESR 78.1. Some of these bugs showed evidence of memory
corruption and we presume that with enough effort some of these could
have been exploited to run arbitrary code.

References

    Memory safety bugs fixed in Firefox 80 and Firefox ESR 78.2

_______________________________________________________________________


Mozilla Foundation Security Advisory 2020-37
Security Vulnerabilities fixed in Firefox ESR 68.12

Announced      August 25, 2020
Impact         high
Products       Firefox ESR
Fixed in
        Firefox ESR 68.12

#CVE-2020-15663: Downgrade attack on the Mozilla Maintenance Service
could have resulted in escalation of privilege

Reporter      Xiaoyin Liu
Impact        high

Description

If Firefox is installed to a user-writable directory, the Mozilla
Maintenance Service would execute updater.exe from the install location
with system privileges. Although the Mozilla Maintenance Service does
ensure that updater.exe is signed by Mozilla, the version could have
been rolled back to a previous version which would have allowed
exploitation of an older bug and arbitrary code execution with System
Privileges.
Note: This issue only affected Windows operating systems. Other
operating systems are unaffected.

References

    Bug 1643199


#CVE-2020-15664: Attacker-induced prompt for extension installation

Reporter      Kaizer Soze
Impact        high

Description

By holding a reference to the eval() function from an about:blank
window, a malicious webpage could have gained access to the
InstallTrigger object which would allow them to prompt the user to
install an extension. Combined with user confusion, this could result in
an unintended or malicious extension being installed.

References

    Bug 1658214


#CVE-2020-15669: Use-After-Free when aborting an operation

Reporter      Jason Kratzer
Impact        high

Description

When aborting an operation, such as a fetch, an abort signal may be
deleted while alerting the objects to be notified. This results in a
use-after-free and we presume that with enough effort it could have been
exploited to run arbitrary code.

References

    Bug 1656957

_______________________________________________________________________


Mozilla Foundation Security Advisory 2020-38
Security Vulnerabilities fixed in Firefox ESR 78.2

Announced      August 25, 2020
Impact         high
Products       Firefox ESR
Fixed in
        Firefox ESR 78.2

#CVE-2020-15663: Downgrade attack on the Mozilla Maintenance Service
could have resulted in escalation of privilege

Reporter      Xiaoyin Liu
Impact        high

Description

If Firefox is installed to a user-writable directory, the Mozilla
Maintenance Service would execute updater.exe from the install location
with system privileges. Although the Mozilla Maintenance Service does
ensure that updater.exe is signed by Mozilla, the version could have
been rolled back to a previous version which would have allowed
exploitation of an older bug and arbitrary code execution with System
Privileges.
Note: This issue only affected Windows operating systems. Other
operating systems are unaffected.

References

    Bug 1643199


#CVE-2020-15664: Attacker-induced prompt for extension installation

Reporter      Kaizer Soze
Impact        high

Description

By holding a reference to the eval() function from an about:blank
window, a malicious webpage could have gained access to the
InstallTrigger object which would allow them to prompt the user to
install an extension. Combined with user confusion, this could result in
an unintended or malicious extension being installed.

References

    Bug 1658214


#CVE-2020-15670: Memory safety bugs fixed in Firefox 80 and Firefox ESR 78.2

Reporter      Mozilla developers and community
Impact        high

Description

Mozilla developers Jason Kratzer, Christian Holler, Byron Campen, Tyson
Smith reported memory safety bugs present in Firefox 79 and Firefox ESR
78.1. Some of these bugs showed evidence of memory corruption and we
presume that with enough effort some of these could have been exploited
to run arbitrary code.

References

    Memory safety bugs fixed in Firefox 80 and Firefox ESR 78.2




=========================================================
+ CERT-RENATER       |    tel : 01-53-94-20-44          +
+ 23/25 Rue Daviel   |    fax : 01-53-94-20-41          +
+ 75013 Paris        |    email:cert@support.renater.fr +
=========================================================


