Cloudanix VulnDB

CVE-2018-18500

Critical · 9.8

CVSS

9.8

EPSS

12.7%

Published

Feb 5, 2019

CISA due date

—

Cloudanix analysis

Act now SSVC: Track

A flaw in older web browsers and email clients could let attackers take over a user's computer simply by getting them to visit a malicious website.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Application
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A use-after-free occurs during HTML5 stream parsing when custom HTML elements are involved, allowing the stream parser object to be freed while references to it remain active, which can be leveraged for memory corruption and arbitrary code execution.

Why it matters to the business

Attackers could gain full control of affected user systems via malicious web content, resulting in data theft, credential compromise, or malware deployment across browser-dependent environments.

How an attack unfolds

An attacker hosts a crafted webpage containing custom HTML elements that interact with the HTML5 stream parser; when the victim loads the page, the parser object is freed prematurely while still referenced, enabling memory manipulation to achieve code execution.

How to fix it

Upgrade Mozilla Firefox to version 65 or later, Firefox ESR to 60.5 or later, and Thunderbird to 60.5 or later. Apply vendor security updates to all affected distributions of Ubuntu, Debian, and Red Hat Enterprise Linux.

How to confirm the fix worked

Verify installed browser and mail client versions against the fixed releases (Firefox 65+, ESR 60.5+, Thunderbird 60.5+); re-test parsing of custom HTML elements in isolated environments to confirm absence of the crash condition.

Typical attack path

  1. Attacker prepares malicious HTML5 content with custom elements targeting the stream parser
  2. Victim is lured to the attacker-controlled page via phishing or compromised site
  3. Browser parses the stream and triggers the use-after-free condition
  4. Attacker uses memory corruption primitives to execute arbitrary code

How to detect it

Examine browser crash logs and memory dumps for parser-related faults involving HTML5 streams; correlate with web proxy logs showing visits to suspicious domains shortly before any anomalous process behavior.

What your security team should do

  • Prioritize patching all browser and Thunderbird instances to the versions listed in remediation guidance
  • Enforce automatic updates and application allow-listing to prevent execution of outdated binaries
  • Review web proxy or endpoint logs for access to untrusted sites that could deliver HTML5 stream content

The record

A use-after-free vulnerability can occur while parsing an HTML5 stream in concert with custom HTML elements. This results in the stream parser object being freed while still in use, leading to a potentially exploitable crash. This vulnerability affects Thunderbird < 60.5, Firefox ESR < 60.5, and Firefox < 65.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 60.5.0esr-1
Debian:11 thunderbird 0 1:60.5.0-1
Debian:12 firefox-esr 0 60.5.0esr-1
Debian:12 thunderbird 0 1:60.5.0-1
Debian:13 firefox-esr 0 60.5.0esr-1
Debian:13 thunderbird 0 1:60.5.0-1
Debian:8 firefox-esr 0 60.5.0esr-1~deb8u1
Debian:8 thunderbird 0 1:60.5.1-1~deb8u1
Debian:9 firefox-esr 0 60.5.0esr-1~deb9u1
Debian:9 thunderbird 0 1:60.5.1-1~deb9u1
Mageia:6 firefox 0 60.5.0-1.mga6
Mageia:6 firefox-l10n 0 60.5.0-1.mga6
Mageia:6 nss 0 3.36.7-1.mga6
Mageia:6 thunderbird 0 60.5.0-1.mga6
Mageia:6 thunderbird-l10n 0 60.5.0-1.mga6
Red Hat:enterprise_linux:6::client firefox 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::client firefox-debuginfo 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::client thunderbird 0 0:60.5.0-1.el6_10
Red Hat:enterprise_linux:6::client thunderbird-debuginfo 0 0:60.5.0-1.el6_10
Red Hat:enterprise_linux:6::computenode firefox 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::computenode firefox-debuginfo 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::server firefox 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::server firefox-debuginfo 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::server thunderbird 0 0:60.5.0-1.el6_10
Red Hat:enterprise_linux:6::server thunderbird-debuginfo 0 0:60.5.0-1.el6_10
Red Hat:enterprise_linux:6::workstation firefox 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::workstation firefox-debuginfo 0 0:60.5.0-2.el6
Red Hat:enterprise_linux:6::workstation thunderbird 0 0:60.5.0-1.el6_10
Red Hat:enterprise_linux:6::workstation thunderbird-debuginfo 0 0:60.5.0-1.el6_10
Red Hat:enterprise_linux:7::client firefox 0 0:60.5.0-2.el7
Red Hat:enterprise_linux:7::client firefox-debuginfo 0 0:60.5.0-2.el7
Red Hat:enterprise_linux:7::client thunderbird 0 0:60.5.0-1.el7_6
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:60.5.0-1.el7_6
Red Hat:enterprise_linux:7::server firefox 0 0:60.5.0-2.el7
Red Hat:enterprise_linux:7::server firefox-debuginfo 0 0:60.5.0-2.el7
Red Hat:enterprise_linux:7::server thunderbird 0 0:60.5.0-1.el7_6
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:60.5.0-1.el7_6
Red Hat:enterprise_linux:7::workstation firefox 0 0:60.5.0-2.el7
Red Hat:enterprise_linux:7::workstation firefox-debuginfo 0 0:60.5.0-2.el7
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:60.5.0-1.el7_6
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:60.5.0-1.el7_6
SUSE:Enterprise Storage 4 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Enterprise Storage 4 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Enterprise Storage 4 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Desktop 12 SP3 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Desktop 12 SP3 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Desktop 12 SP4 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Desktop 12 SP4 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Desktop 12 SP4 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Module for Basesystem 15 mozilla-nss 0 3.41.1-3.13.1
SUSE:Linux Enterprise Module for Desktop Applications 15 MozillaFirefox 0 60.5.0-3.24.2
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server 12 SP1-LTSS MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server 12 SP1-LTSS mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server 12 SP2-BCL mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server 12 SP2-LTSS MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server 12 SP2-LTSS mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server 12 SP3 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server 12 SP3 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server 12 SP4 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server 12 SP4 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server 12 SP4 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server 12-LTSS mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Software Development Kit 12 SP3 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Software Development Kit 12 SP4 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:Linux Enterprise Software Development Kit 12 SP4 mozilla-nss 0 3.41.1-58.25.1
SUSE:Linux Enterprise Workstation Extension 15 MozillaThunderbird 0 60.5.0-3.20.2
SUSE:OpenStack Cloud 7 MozillaFirefox 0 60.5.0esr-109.58.3
SUSE:OpenStack Cloud 7 MozillaFirefox-branding-SLE 0 60-32.5.1
SUSE:OpenStack Cloud 7 mozilla-nss 0 3.41.1-58.25.1
SUSE:Package Hub 12 MozillaThunderbird 0 60.5.1-79.1
Ubuntu:14.04:LTS firefox 0 65.0+build2-0ubuntu0.14.04.1
Ubuntu:14.04:LTS thunderbird 0 1:60.5.1+build2-0ubuntu0.14.04.1
Ubuntu:16.04:LTS firefox 0 65.0+build2-0ubuntu0.16.04.1
Ubuntu:16.04:LTS thunderbird 0 1:60.5.1+build2-0ubuntu0.16.04.1
Ubuntu:18.04:LTS firefox 0 65.0+build2-0ubuntu0.18.04.1
Ubuntu:18.04:LTS mozjs38 0 No fix
Ubuntu:18.04:LTS mozjs52 0 No fix
Ubuntu:18.04:LTS thunderbird 0 1:60.5.1+build2-0ubuntu0.18.04.1
Ubuntu:20.04:LTS mozjs52 0 No fix
Ubuntu:Pro:18.04:LTS mozjs38 0 No fix
Ubuntu:Pro:18.04:LTS mozjs52 0 No fix
Ubuntu:Pro:20.04:LTS mozjs52 0 No fix
openSUSE:Leap 15.0 MozillaFirefox 0 60.8.0-lp150.3.62.1
openSUSE:Leap 15.0 mozilla-nss 0 3.41.1-lp150.2.20.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