Cloudanix VulnDB

CVE-2018-5150

Critical · 9.8

CVSS

9.8

EPSS

3.1%

Published

Jun 11, 2018

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in older versions of Firefox and Thunderbird could let attackers take over a user's computer simply by getting the victim to view a malicious web page or 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

Memory corruption flaws in the browser and email client engines allow an attacker to overwrite memory contents and redirect execution flow to attacker-controlled code.

Why it matters to the business

Compromised user workstations can lead to theft of credentials, emails, and browsing data, unauthorized access to internal resources, and potential lateral movement from affected endpoints.

How an attack unfolds

An attacker hosts a specially crafted web page or sends a malicious email attachment that triggers one of the memory-safety bugs; when the victim renders the content, the corruption is leveraged to execute arbitrary native code with the privileges of the browser or mail client process.

How to fix it

Upgrade Mozilla Firefox to version 60 or later, Firefox ESR to 52.8 or later, Thunderbird to 52.8 or later, and Thunderbird ESR to 52.8 or later. Apply the corresponding vendor or distribution security updates for all affected Linux packages.

How to confirm the fix worked

Confirm the installed browser and mail-client versions meet or exceed the fixed releases listed above; re-scan systems with vulnerability management tools and verify that the vulnerable package versions no longer appear in inventory.

Typical attack path

  1. Deliver malicious content via web page, email, or attachment to a victim using an affected version
  2. Trigger the memory corruption condition during parsing or rendering
  3. Use the resulting write-what-where primitive to corrupt control structures or JIT code
  4. Execute shellcode or ROP chain to spawn a process or establish a foothold
  5. Perform post-exploitation actions such as credential harvesting or persistence

How to detect it

Examine browser and mail-client crash reports for the affected versions, review web-proxy and mail-server logs for requests that match known malicious patterns from 2018-era campaigns, and correlate any sudden process-creation events originating from the browser or thunderbird binaries.

What your security team should do

  • Prioritize patching of all Firefox, Firefox ESR, Thunderbird, and Thunderbird ESR instances within the next maintenance window
  • Enable automatic updates where enterprise policy permits
  • Review proxy and email-gateway logs for any historical indicators of attempted exploitation
  • Harden endpoint configurations by disabling unnecessary plugins and enforcing content-blocking extensions

The record

Memory safety bugs were reported in Firefox 59, Firefox ESR 52.7, and Thunderbird 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. This vulnerability affects Thunderbird < 52.8, Thunderbird ESR < 52.8, Firefox < 60, and Firefox ESR < 52.8.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 52.8.0esr-1
Debian:11 thunderbird 0 1:52.8.0-1
Debian:12 firefox-esr 0 52.8.0esr-1
Debian:12 thunderbird 0 1:52.8.0-1
Debian:13 firefox-esr 0 52.8.0esr-1
Debian:13 thunderbird 0 1:52.8.0-1
Debian:7 firefox-esr 0 52.8.0esr-1~deb7u1
Debian:7 thunderbird 0 1:52.8.0-1~deb7u1
Debian:8 firefox-esr 0 52.8.0esr-1~deb8u1
Debian:8 thunderbird 0 1:52.8.0-1~deb8u1
Debian:9 firefox-esr 0 52.8.0esr-1~deb9u1
Debian:9 thunderbird 0 1:52.8.0-1~deb9u1
Mageia:6 firefox 0 52.8.0-1.mga6
Mageia:6 firefox-l10n 0 52.8.0-1.mga6
Mageia:6 iceape 0 2.49.3-1.mga6
Mageia:6 nss 0 3.28.6-1.4.mga6
Mageia:6 rootcerts 0 20180411.00-1.mga6
Mageia:6 thunderbird 0 52.8.0-4.mga6
Mageia:6 thunderbird-l10n 0 52.8.0-1.mga6
Red Hat:enterprise_linux:6::client firefox 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::client firefox-debuginfo 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::client thunderbird 0 0:52.8.0-2.el6_9
Red Hat:enterprise_linux:6::client thunderbird-debuginfo 0 0:52.8.0-2.el6_9
Red Hat:enterprise_linux:6::computenode firefox 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::computenode firefox-debuginfo 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::server firefox 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::server firefox-debuginfo 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::server thunderbird 0 0:52.8.0-2.el6_9
Red Hat:enterprise_linux:6::server thunderbird-debuginfo 0 0:52.8.0-2.el6_9
Red Hat:enterprise_linux:6::workstation firefox 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::workstation firefox-debuginfo 0 0:52.8.0-1.el6_9
Red Hat:enterprise_linux:6::workstation thunderbird 0 0:52.8.0-2.el6_9
Red Hat:enterprise_linux:6::workstation thunderbird-debuginfo 0 0:52.8.0-2.el6_9
Red Hat:enterprise_linux:7::client firefox 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::client thunderbird 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::server firefox 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::server thunderbird 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::workstation firefox 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:52.8.0-1.el7_5
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:52.8.0-1.el7_5
SUSE:Enterprise Storage 4 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Enterprise Storage 5 MozillaFirefox 0 68.2.0-109.95.2
SUSE:HPE Helion OpenStack 8 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Desktop 12 SP4 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Module for Desktop Applications 15 MozillaFirefox 0 52.9.0esr-3.7.12
SUSE:Linux Enterprise Point of Sale 11 SP3 MozillaFirefox 0 52.8.0esr-72.32.1
SUSE:Linux Enterprise Server 11 SP3-LTSS MozillaFirefox 0 52.8.0esr-72.32.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox 0 52.8.0esr-72.32.1
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox 0 52.8.0esr-72.32.1
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12 SP3-LTSS MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12 SP4 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox 0 52.8.0esr-72.32.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Software Development Kit 11 SP4 MozillaFirefox 0 52.8.0esr-72.32.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:Linux Enterprise Software Development Kit 12 SP4 MozillaFirefox 0 68.2.0-109.95.2
SUSE:Linux Enterprise Software Development Kit 12 SP5 MozillaFirefox 0 68.2.0-109.95.2
SUSE:OpenStack Cloud 7 MozillaFirefox 0 52.8.0esr-109.31.2
SUSE:OpenStack Cloud 7 MozillaFirefox 0 68.2.0-109.95.2
SUSE:OpenStack Cloud 8 MozillaFirefox 0 68.2.0-109.95.2
SUSE:OpenStack Cloud Crowbar 8 MozillaFirefox 0 68.2.0-109.95.2
Ubuntu:14.04:LTS firefox 0 60.0+build2-0ubuntu0.14.04.1
Ubuntu:14.04:LTS thunderbird 0 1:52.8.0+build1-0ubuntu0.14.04.1
Ubuntu:16.04:LTS firefox 0 60.0+build2-0ubuntu0.16.04.1
Ubuntu:16.04:LTS thunderbird 0 1:52.8.0+build1-0ubuntu0.16.04.1
Ubuntu:18.04:LTS firefox 0 60.0+build2-0ubuntu1
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 52.8.1-0ubuntu0.18.04.1
Ubuntu:18.04:LTS thunderbird 0 1:52.8.0+build1-0ubuntu0.18.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:Pro:18.04:LTS mozjs38 0 No fix
Ubuntu:Pro:20.04:LTS mozjs52 0 No fix
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