Cloudanix VulnDB

CVE-2018-12385

High · 7.0

CVSS

7.0

EPSS

0.4%

Published

Oct 18, 2018

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in older Firefox and Thunderbird versions can make the programs crash when they read certain data from a user's stored files, and that crash might be turned into an attack if an attacker already has a way to change those files.

Chainable
Exploitation
Local Privilege
Attacker needs
Local User
Complexity
High
Impact
Full Compromise
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw allows a crash in TransportSecurityInfo during SSL operations when invalid or attacker-controlled data is present in the local profile cache; the crash is potentially exploitable only when combined with a separate write primitive into that cache or with local malware.

Why it matters to the business

Unpatched systems may experience unexpected browser or mail-client crashes that interrupt user work and, in the presence of additional local compromise, could allow code execution; organizations running older Firefox, ESR or Thunderbird releases face prolonged exposure because the issue has been public for years with no observed in-the-wild exploitation.

How an attack unfolds

An attacker must first obtain the ability to write arbitrary data into the Firefox/Thunderbird profile cache (via another vulnerability or by installing malware on the system). Once the malicious cache entry is in place, the browser or mail client processes the TransportSecurityInfo record on the next SSL operation and crashes in a manner that could be turned into arbitrary code execution.

How to fix it

Upgrade Mozilla Firefox to version 62.0.2 or later, Firefox ESR to 60.2.1 or later, and Thunderbird to 60.2.1 or later. After upgrading, clear any affected user profiles that were used with the vulnerable versions to remove potentially malicious cache entries.

How to confirm the fix worked

Verify that the installed Firefox, ESR or Thunderbird version is at or above the fixed releases listed above; inspect profile directories for unexpected TransportSecurityInfo files and confirm that the application starts and performs SSL operations without crashing.

Typical attack path

  1. Gain write access to the user's profile cache directory through a separate vulnerability or local malware
  2. Place a crafted TransportSecurityInfo record into the cache
  3. Trigger an SSL connection that causes the application to read and process the cached record
  4. Exploit the resulting crash to execute attacker-controlled code

How to detect it

Review application crash logs and profile directories for unexpected TransportSecurityInfo entries; monitor for repeated startup or SSL-related crashes on systems that have recently switched between release channels or that show signs of local malware.

What your security team should do

  • Immediately deploy the fixed Mozilla releases to all endpoints still running vulnerable versions
  • Scan enterprise systems for any remaining installations older than Firefox 62.0.2 / ESR 60.2.1 / Thunderbird 60.2.1
  • Educate users not to share profiles between Nightly and Release channels

The record

A potentially exploitable crash in TransportSecurityInfo used for SSL can be triggered by data stored in the local cache in the user profile directory. This issue is only exploitable in combination with another vulnerability allowing an attacker to write data into the local cache or from locally installed malware. This issue also triggers a non-exploitable startup crash for users switching between the Nightly and Release versions of Firefox if the same profile is used. This vulnerability affects Thunderbird < 60.2.1, Firefox ESR < 60.2.1, and Firefox < 62.0.2.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 60.2.1esr-1
Debian:11 thunderbird 0 1:60.2.1-1
Debian:12 firefox-esr 0 60.2.1esr-1
Debian:12 thunderbird 0 1:60.2.1-1
Debian:13 firefox-esr 0 60.2.1esr-1
Debian:13 thunderbird 0 1:60.2.1-1
Debian:8 thunderbird 0 1:60.3.0-1~deb8u1
Debian:9 firefox-esr 0 60.2.1esr-1~deb9u1
Debian:9 thunderbird 0 1:60.2.1-2~deb9u1
Mageia:6 thunderbird 0 60.3.3-3.mga6
Mageia:6 thunderbird-l10n 0 60.3.3-1.mga6
Red Hat:enterprise_linux:6::client firefox 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::client firefox-debuginfo 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::client thunderbird 0 0:60.2.1-5.el6
Red Hat:enterprise_linux:6::client thunderbird-debuginfo 0 0:60.2.1-5.el6
Red Hat:enterprise_linux:6::computenode firefox 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::computenode firefox-debuginfo 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::server firefox 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::server firefox-debuginfo 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::server thunderbird 0 0:60.2.1-5.el6
Red Hat:enterprise_linux:6::server thunderbird-debuginfo 0 0:60.2.1-5.el6
Red Hat:enterprise_linux:6::workstation firefox 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::workstation firefox-debuginfo 0 0:60.2.1-1.el6
Red Hat:enterprise_linux:6::workstation thunderbird 0 0:60.2.1-5.el6
Red Hat:enterprise_linux:6::workstation thunderbird-debuginfo 0 0:60.2.1-5.el6
Red Hat:enterprise_linux:7::client firefox 0 0:60.2.1-1.el7_5
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:60.2.1-1.el7_5
Red Hat:enterprise_linux:7::client thunderbird 0 0:60.2.1-4.el7_5
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:60.2.1-4.el7_5
Red Hat:enterprise_linux:7::server firefox 0 0:60.2.1-1.el7_5
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:60.2.1-1.el7_5
Red Hat:enterprise_linux:7::server thunderbird 0 0:60.2.1-4.el7_5
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:60.2.1-4.el7_5
Red Hat:enterprise_linux:7::workstation firefox 0 0:60.2.1-1.el7_5
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:60.2.1-1.el7_5
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:60.2.1-4.el7_5
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:60.2.1-4.el7_5
SUSE:Enterprise Storage 4 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Enterprise Storage 4 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Enterprise Storage 4 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Enterprise Storage 4 mozilla-nspr 0 4.19-19.3.1
SUSE:Enterprise Storage 4 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Desktop 12 SP3 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Desktop 12 SP3 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Desktop 12 SP4 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Desktop 12 SP4 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Desktop 12 SP4 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Desktop 12 SP4 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Module for Desktop Applications 15 MozillaFirefox 0 60.2.2-3.13.3
SUSE:Linux Enterprise Module for Desktop Applications 15 MozillaFirefox-branding-SLE 0 60-4.5.3
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server 12 SP1-LTSS apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server 12 SP1-LTSS mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server 12 SP1-LTSS mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server 12 SP2-LTSS apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server 12 SP2-LTSS mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server 12 SP2-LTSS mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server 12 SP3 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server 12 SP3 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server 12 SP3 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server 12 SP4 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server 12 SP4 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server 12 SP4 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server 12 SP4 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server 12 SP4 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server 12-LTSS mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server 12-LTSS mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Software Development Kit 12 SP3 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Software Development Kit 12 SP4 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 mozilla-nspr 0 4.19-19.3.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 mozilla-nss 0 3.36.4-58.15.3
SUSE:Linux Enterprise Workstation Extension 15 MozillaThunderbird 0 60.2.1-3.13.1
SUSE:OpenStack Cloud 7 MozillaFirefox 0 60.2.2esr-109.46.1
SUSE:OpenStack Cloud 7 MozillaFirefox-branding-SLE 0 60-32.3.1
SUSE:OpenStack Cloud 7 apache2-mod_nss 0 1.0.14-19.6.3
SUSE:OpenStack Cloud 7 mozilla-nspr 0 4.19-19.3.1
SUSE:OpenStack Cloud 7 mozilla-nss 0 3.36.4-58.15.3
SUSE:Package Hub 12 MozillaThunderbird 0 60.3.0-74.2
Ubuntu:14.04:LTS firefox 0 62.0.3+build1-0ubuntu0.14.04.2
Ubuntu:14.04:LTS thunderbird 0 1:60.2.1+build1-0ubuntu0.14.04.2
Ubuntu:16.04:LTS firefox 0 62.0.3+build1-0ubuntu0.16.04.2
Ubuntu:16.04:LTS thunderbird 0 1:60.2.1+build1-0ubuntu0.16.04.4
Ubuntu:18.04:LTS firefox 0 62.0.3+build1-0ubuntu0.18.04.1
Ubuntu:18.04:LTS thunderbird 0 1:60.2.1+build1-0ubuntu0.18.04.2
openSUSE:Tumbleweed MozillaFirefox 0 92.0-1.2
openSUSE:Tumbleweed MozillaThunderbird 0 91.1.1-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities