Cloudanix VulnDB

CVE-2017-5398

Critical · 9.8

CVSS

9.8

EPSS

3.7%

Published

Jun 11, 2018

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Older versions of Firefox and Thunderbird contain flaws that could let an attacker take over a user's computer simply by getting them to visit a malicious website or open a malicious email.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Remote Code Execution
Component
Application
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Multiple memory safety issues in the browser and mail client lead to memory corruption that can be leveraged for arbitrary code execution.

Why it matters to the business

Successful exploitation can result in full system compromise, theft of sensitive data, installation of persistent malware, and disruption of operations across any environment running the affected versions.

How an attack unfolds

An attacker crafts malicious web content or email that triggers one of the memory corruption bugs when rendered or processed by the vulnerable client; with sufficient effort the corruption is turned into remote code execution, allowing the attacker to run arbitrary commands on the target system.

How to fix it

Upgrade Firefox to version 52 or later, Firefox ESR to 45.8 or later, Thunderbird to 52 or later, and Thunderbird ESR to 45.8 or later. Apply all subsequent security updates promptly.

How to confirm the fix worked

Verify that installed versions meet or exceed the fixed releases listed above; re-scan systems after patching to confirm no vulnerable binaries remain.

Typical attack path

  1. Deliver malicious web page or email attachment to the victim
  2. Victim opens the content in a vulnerable Firefox or Thunderbird instance
  3. Memory corruption is triggered during rendering or parsing
  4. Attacker gains arbitrary code execution and establishes control

How to detect it

Review browser and mail client crash reports, unexpected child process spawns, and network connections initiated shortly after content rendering; correlate with endpoint telemetry for signs of post-exploitation activity.

What your security team should do

  • Immediately inventory all instances of Firefox and Thunderbird and apply the required updates
  • Block or restrict use of unsupported versions until patches are deployed
  • Monitor for signs of exploitation in endpoint and network logs

The record

Memory safety bugs were reported in Thunderbird 45.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. This vulnerability affects Firefox < 52, Firefox ESR < 45.8, Thunderbird < 52, and Thunderbird < 45.8.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 45.8.0esr-1
Debian:12 firefox-esr 0 45.8.0esr-1
Debian:13 firefox-esr 0 45.8.0esr-1
Debian:7 firefox-esr 0 45.8.0esr-1~deb7u1
Debian:7 icedove 0 1:45.8.0-3~deb7u1
Debian:8 firefox-esr 0 45.8.0esr-1~deb8u1
Debian:8 icedove 0 1:45.8.0-3~deb8u1
Mageia:5 firefox 0 45.8.0-1.mga5
Mageia:5 firefox-l10n 0 45.8.0-1.mga5
Mageia:5 iceape 0 2.49.1-3.mga5
Mageia:5 nss 0 3.28.3-1.mga5
Mageia:5 rootcerts 0 20170209.00-1.mga5
Mageia:5 sqlite3 0 3.10.2-1.mga5
Mageia:5 thunderbird 0 45.8.0-1.mga5
Mageia:5 thunderbird-l10n 0 45.8.0-1.mga5
Mageia:6 iceape 0 2.49.1-3.mga6
Red Hat:enterprise_linux:5::client firefox 0 0:45.8.0-2.el5_11
Red Hat:enterprise_linux:5::client firefox-debuginfo 0 0:45.8.0-2.el5_11
Red Hat:enterprise_linux:5::client thunderbird 0 0:45.8.0-1.el5_11
Red Hat:enterprise_linux:5::client thunderbird-debuginfo 0 0:45.8.0-1.el5_11
Red Hat:enterprise_linux:5::server firefox 0 0:45.8.0-2.el5_11
Red Hat:enterprise_linux:5::server firefox-debuginfo 0 0:45.8.0-2.el5_11
Red Hat:enterprise_linux:6::client firefox 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::client firefox-debuginfo 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::client thunderbird 0 0:45.8.0-1.el6_8
Red Hat:enterprise_linux:6::client thunderbird-debuginfo 0 0:45.8.0-1.el6_8
Red Hat:enterprise_linux:6::computenode firefox 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::computenode firefox-debuginfo 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::server firefox 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::server firefox-debuginfo 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::server thunderbird 0 0:45.8.0-1.el6_8
Red Hat:enterprise_linux:6::server thunderbird-debuginfo 0 0:45.8.0-1.el6_8
Red Hat:enterprise_linux:6::workstation firefox 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::workstation firefox-debuginfo 0 0:45.8.0-2.el6_8
Red Hat:enterprise_linux:6::workstation thunderbird 0 0:45.8.0-1.el6_8
Red Hat:enterprise_linux:6::workstation thunderbird-debuginfo 0 0:45.8.0-1.el6_8
Red Hat:enterprise_linux:7::client firefox 0 0:52.0-4.el7_3
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:52.0-4.el7_3
Red Hat:enterprise_linux:7::client thunderbird 0 0:45.8.0-1.el7_3
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:45.8.0-1.el7_3
Red Hat:enterprise_linux:7::server firefox 0 0:52.0-4.el7_3
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:52.0-4.el7_3
Red Hat:enterprise_linux:7::server thunderbird 0 0:45.8.0-1.el7_3
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:45.8.0-1.el7_3
Red Hat:enterprise_linux:7::workstation firefox 0 0:52.0-4.el7_3
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:52.0-4.el7_3
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:45.8.0-1.el7_3
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:45.8.0-1.el7_3
Red Hat:rhel_productivity:5 thunderbird 0 0:45.8.0-1.el5_11
Red Hat:rhel_productivity:5 thunderbird-debuginfo 0 0:45.8.0-1.el5_11
SUSE:Linux Enterprise Desktop 12 SP1 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Desktop 12 SP2 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Point of Sale 11 SP3 MozillaFirefox 0 45.8.0esr-68.1
SUSE:Linux Enterprise Server 11 SP3-LTSS MozillaFirefox 0 45.8.0esr-68.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox 0 45.8.0esr-68.1
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox 0 45.8.0esr-68.1
SUSE:Linux Enterprise Server 12 SP1 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Server 12 SP2 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox 0 45.8.0esr-68.1
SUSE:Linux Enterprise Server for SAP Applications 12 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 MozillaFirefox 0 45.8.0esr-68.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 MozillaFirefox 0 45.8.0esr-102.1
SUSE:Manager 2.1 MozillaFirefox 0 45.8.0esr-68.1
SUSE:Manager Proxy 2.1 MozillaFirefox 0 45.8.0esr-68.1
SUSE:OpenStack Cloud 5 MozillaFirefox 0 45.8.0esr-68.1
SUSE:Package Hub 12 MozillaThunderbird 0 45.8.0-27.1
SUSE:Package Hub 12 MozillaThunderbird 0 52.1.0-30.1
Ubuntu:14.04:LTS firefox 0 52.0+build2-0ubuntu0.14.04.1
Ubuntu:14.04:LTS thunderbird 0 1:45.8.0+build1-0ubuntu0.14.04.1
Ubuntu:16.04:LTS firefox 0 52.0+build2-0ubuntu0.16.04.1
Ubuntu:16.04:LTS thunderbird 0 1:45.8.0+build1-0ubuntu0.16.04.1
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