Cloudanix VulnDB

CVE-2022-3033

High · 8.1

CVSS

8.1

EPSS

0.8%

Published

Dec 22, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the email program allows an attacker to steal the contents of encrypted messages simply by getting a user to reply to a specially made email.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A crafted HTML email with a meta refresh tag bypasses remote content blocking and allows JavaScript execution inside the message compose document, enabling read and modification of quoted message content including decrypted plaintext.

Why it matters to the business

Attackers can exfiltrate sensitive decrypted message content from users who have not changed the default HTML display setting, leading to potential loss of confidential communications without requiring user interaction beyond replying to the email.

How an attack unfolds

An attacker sends a specially crafted HTML email containing a meta refresh tag and supporting elements; when the recipient replies, Thunderbird issues a network request and executes attacker-controlled JavaScript in the compose context, which can read the quoted original message and transmit its contents to an attacker-controlled URL.

How to fix it

Upgrade Thunderbird to version 102.2.1 or later, or 91.13.1 or later. Users who have already switched the Message Body display setting to 'simple html' or 'plain text' are not affected.

How to confirm the fix worked

Confirm the installed Thunderbird version is at least 102.2.1 or 91.13.1; verify the Message Body display preference is not set to the default HTML mode if an older version must remain in use.

Typical attack path

  1. Attacker crafts HTML email with meta http-equiv refresh and supporting elements to trigger script execution on reply
  2. Victim receives and opens the message in default HTML view
  3. Victim initiates a reply action
  4. JavaScript executes in the compose document context
  5. Script extracts quoted plaintext including any decrypted content
  6. Script transmits data to the attacker-specified or modified URL

How to detect it

Review Thunderbird process network connections and message compose activity logs for unexpected outbound requests triggered during reply operations; inspect incoming email headers and HTML content for meta refresh tags combined with script-capable elements.

What your security team should do

  • Prioritize immediate upgrade of all Thunderbird installations to the fixed releases
  • Audit email client configurations to enforce 'simple html' or 'plain text' rendering where upgrades are delayed
  • Monitor for unusual outbound network requests originating from the Thunderbird compose process

The record

If a Thunderbird user replied to a crafted HTML email containing a <code>meta</code> tag, with the <code>meta</code> tag having the <code>http-equiv="refresh"</code> attribute, and the content attribute specifying an URL, then Thunderbird started a network request to that URL, regardless of the configuration to block remote content. In combination with certain other HTML elements and attributes in the email, it was possible to execute JavaScript code included in the message in the context of the message compose document. The JavaScript code was able to perform actions including, but probably not limited to, read and modify the contents of the message compose document, including the quoted original message, which could potentially contain the decrypted plaintext of encrypted data in the crafted email. The contents could then be transmitted to the network, either to the URL specified in the META refresh tag, or to a different URL, as the JavaScript code could modify the URL specified in the document. This bug doesn't affect users who have changed the default Message Body display setting to 'simple html' or 'plain text'. This vulnerability affects Thunderbird < 102.2.1 and Thunderbird < 91.13.1.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 thunderbird 0 102.3.0-3.el8_6.alma
AlmaLinux:9 thunderbird 0 102.3.0-3.el9_0.alma
Debian:12 thunderbird 0 1:102.2.1-1
Debian:13 thunderbird 0 1:102.2.1-1
Red Hat:enterprise_linux:7::client thunderbird 0 0:102.3.0-3.el7_9
Red Hat:enterprise_linux:7::client thunderbird-debuginfo 0 0:102.3.0-3.el7_9
Red Hat:enterprise_linux:7::server thunderbird 0 0:102.3.0-3.el7_9
Red Hat:enterprise_linux:7::server thunderbird-debuginfo 0 0:102.3.0-3.el7_9
Red Hat:enterprise_linux:7::workstation thunderbird 0 0:102.3.0-3.el7_9
Red Hat:enterprise_linux:7::workstation thunderbird-debuginfo 0 0:102.3.0-3.el7_9
Red Hat:enterprise_linux:8::appstream thunderbird 0 0:102.3.0-3.el8_6
Red Hat:enterprise_linux:8::appstream thunderbird-debuginfo 0 0:102.3.0-3.el8_6
Red Hat:enterprise_linux:8::appstream thunderbird-debugsource 0 0:102.3.0-3.el8_6
Red Hat:enterprise_linux:9::appstream thunderbird 0 0:102.3.0-3.el9_0
Red Hat:enterprise_linux:9::appstream thunderbird-debuginfo 0 0:102.3.0-3.el9_0
Red Hat:enterprise_linux:9::appstream thunderbird-debugsource 0 0:102.3.0-3.el9_0
Red Hat:rhel_e4s:8.1::appstream thunderbird 0 0:102.3.0-3.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird-debuginfo 0 0:102.3.0-3.el8_1
Red Hat:rhel_e4s:8.1::appstream thunderbird-debugsource 0 0:102.3.0-3.el8_1
Red Hat:rhel_eus:8.2::appstream thunderbird 0 0:102.3.0-3.el8_2
Red Hat:rhel_eus:8.2::appstream thunderbird-debuginfo 0 0:102.3.0-3.el8_2
Red Hat:rhel_eus:8.2::appstream thunderbird-debugsource 0 0:102.3.0-3.el8_2
Red Hat:rhel_eus:8.4::appstream thunderbird 0 0:102.3.0-3.el8_4
Red Hat:rhel_eus:8.4::appstream thunderbird-debuginfo 0 0:102.3.0-3.el8_4
Red Hat:rhel_eus:8.4::appstream thunderbird-debugsource 0 0:102.3.0-3.el8_4
Rocky Linux:8 thunderbird 0 0:102.3.0-3.el8_6
SUSE:Linux Enterprise Module for Package Hub 15 SP3 MozillaThunderbird 0 102.2.2-150200.8.82.1
SUSE:Linux Enterprise Module for Package Hub 15 SP4 MozillaThunderbird 0 102.2.2-150200.8.82.1
SUSE:Linux Enterprise Workstation Extension 15 SP3 MozillaThunderbird 0 102.2.2-150200.8.82.1
SUSE:Linux Enterprise Workstation Extension 15 SP4 MozillaThunderbird 0 102.2.2-150200.8.82.1
Ubuntu:18.04:LTS thunderbird 0 1:102.2.2+build1-0ubuntu0.18.04.1
Ubuntu:20.04:LTS thunderbird 0 1:102.2.2+build1-0ubuntu0.20.04.1
Ubuntu:22.04:LTS thunderbird 0 1:102.2.2+build1-0ubuntu0.22.04.1
openSUSE:Leap 15.3 MozillaThunderbird 0 102.2.2-150200.8.82.1
openSUSE:Leap 15.4 MozillaThunderbird 0 102.2.2-150200.8.82.1
openSUSE:Tumbleweed MozillaThunderbird 0 102.2.1-1.1

Related vulnerabilities