CVE-2020-12398
High · 7.5CVSS
7.5
EPSS
1.0%
Published
Jul 9, 2020
CISA due date
—
Cloudanix analysis
An email program could accidentally send messages and login details without encryption if the mail server responded in a certain way, letting eavesdroppers read private correspondence.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Information Disclosure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The client accepts a PREAUTH response from an IMAP server configured for STARTTLS and proceeds with the session in plaintext, exposing message contents and credentials in transit.
Why it matters to the business
Sensitive email content and authentication material can be read by any party on the network path, creating compliance and confidentiality risks for organizations that rely on the client.
How an attack unfolds
An attacker positions themselves to intercept or impersonate the IMAP server, returns a PREAUTH banner instead of the expected STARTTLS negotiation, and the client silently continues without encryption, allowing passive capture of all subsequent email traffic.
How to fix it
Upgrade Thunderbird to version 68.9.0 or later. Verify that STARTTLS enforcement remains enabled after the update and test connections to ensure TLS negotiation occurs before any mailbox commands.
How to confirm the fix worked
Confirm client version is at least 68.9.0, review IMAP connection logs for successful TLS handshakes on STARTTLS ports, and test against a server that deliberately sends PREAUTH to verify the client now rejects the unencrypted path.
Typical attack path
- Attacker performs network interception or DNS spoofing against the target user's IMAP connection
- Malicious or compromised server responds with PREAUTH to the initial greeting
- Client skips TLS upgrade and sends credentials and mailbox data in clear text
- Attacker records or modifies the unprotected traffic
How to detect it
Search mail client logs and network flow records for IMAP sessions on port 143 that never complete a TLS handshake after a STARTTLS command, or that show PREAUTH responses followed immediately by plaintext LOGIN or SELECT commands.
- IMAP PREAUTH response followed by unencrypted LOGIN
- STARTTLS command issued on port 143 with no subsequent TLS ClientHello
- Thunderbird version < 68.9.0 in process or package metadata
What your security team should do
- Prioritize patching all Thunderbird installations to 68.9.0+
- Audit mail server configurations to require TLS and reject PREAUTH on STARTTLS ports
- Enable network monitoring for unencrypted IMAP traffic from client systems
The record
If Thunderbird is configured to use STARTTLS for an IMAP server, and the server sends a PREAUTH response, then Thunderbird will continue with an unencrypted connection, causing email data to be sent without protection. This vulnerability affects Thunderbird < 68.9.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | thunderbird | 0 | 1:68.9.0-1~deb10u1 |
| Debian:11 | thunderbird | 0 | 1:68.9.0-1 |
| Debian:12 | thunderbird | 0 | 1:68.9.0-1 |
| Debian:13 | thunderbird | 0 | 1:68.9.0-1 |
| Debian:8 | thunderbird | 0 | 1:68.9.0-1~deb8u2 |
| Debian:9 | thunderbird | 0 | 1:68.9.0-1~deb9u1 |
| Mageia:7 | thunderbird | 0 | 68.10.0-1.mga7 |
| Mageia:7 | thunderbird-l10n | 0 | 68.10.0-1.mga7 |
| Red Hat:enterprise_linux:6::client | thunderbird | 0 | 0:68.9.0-1.el6_10 |
| Red Hat:enterprise_linux:6::client | thunderbird-debuginfo | 0 | 0:68.9.0-1.el6_10 |
| Red Hat:enterprise_linux:6::server | thunderbird | 0 | 0:68.9.0-1.el6_10 |
| Red Hat:enterprise_linux:6::server | thunderbird-debuginfo | 0 | 0:68.9.0-1.el6_10 |
| Red Hat:enterprise_linux:6::workstation | thunderbird | 0 | 0:68.9.0-1.el6_10 |
| Red Hat:enterprise_linux:6::workstation | thunderbird-debuginfo | 0 | 0:68.9.0-1.el6_10 |
| Red Hat:enterprise_linux:7::client | thunderbird | 0 | 0:68.9.0-1.el7_8 |
| Red Hat:enterprise_linux:7::client | thunderbird-debuginfo | 0 | 0:68.9.0-1.el7_8 |
| Red Hat:enterprise_linux:7::server | thunderbird | 0 | 0:68.9.0-1.el7_8 |
| Red Hat:enterprise_linux:7::server | thunderbird-debuginfo | 0 | 0:68.9.0-1.el7_8 |
| Red Hat:enterprise_linux:7::workstation | thunderbird | 0 | 0:68.9.0-1.el7_8 |
| Red Hat:enterprise_linux:7::workstation | thunderbird-debuginfo | 0 | 0:68.9.0-1.el7_8 |
| Red Hat:enterprise_linux:8::appstream | thunderbird | 0 | 0:68.9.0-1.el8_2 |
| Red Hat:enterprise_linux:8::appstream | thunderbird-debuginfo | 0 | 0:68.9.0-1.el8_2 |
| Red Hat:enterprise_linux:8::appstream | thunderbird-debugsource | 0 | 0:68.9.0-1.el8_2 |
| Red Hat:rhel_e4s:8.0::appstream | thunderbird | 0 | 0:68.9.0-1.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | thunderbird-debuginfo | 0 | 0:68.9.0-1.el8_0 |
| Red Hat:rhel_e4s:8.0::appstream | thunderbird-debugsource | 0 | 0:68.9.0-1.el8_0 |
| Red Hat:rhel_eus:8.1::appstream | thunderbird | 0 | 0:68.9.0-1.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | thunderbird-debuginfo | 0 | 0:68.9.0-1.el8_1 |
| Red Hat:rhel_eus:8.1::appstream | thunderbird-debugsource | 0 | 0:68.9.0-1.el8_1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP1 | MozillaThunderbird | 0 | 68.9.0-3.85.2 |
| SUSE:Linux Enterprise Workstation Extension 15 SP2 | MozillaThunderbird | 0 | 68.9.0-3.85.2 |
| Ubuntu:16.04:LTS | thunderbird | 0 | 1:68.10.0+build1-0ubuntu0.16.04.1 |
| Ubuntu:18.04:LTS | thunderbird | 0 | 1:68.10.0+build1-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | thunderbird | 0 | 1:68.10.0+build1-0ubuntu0.20.04.1 |
| openSUSE:Leap 15.1 | MozillaThunderbird | 0 | 68.9.0-lp151.2.41.1 |
| openSUSE:Tumbleweed | MozillaThunderbird | 0 | 91.1.1-1.1 |
Related vulnerabilities
- CVE-2024-5696 By manipulating the text in an `input` tag, an attacker could have caused corrupt memory… Also affects thunderbird
- CVE-2024-5700 Memory safety bugs present in Firefox 126, Firefox ESR 115.11, and Thunderbird 115.11. Also affects thunderbird
- CVE-2024-5702 Memory corruption in the networking stack could have led to a potentially exploitable… Also affects thunderbird
- CVE-2024-5693 Offscreen Canvas did not properly track cross-origin tainting, which could be used to… Also affects thunderbird
- CVE-2024-5688 If a garbage collection was triggered at the right time, a use-after-free could have… Also affects thunderbird
- CVE-2024-5691 By tricking the browser with a `X-Frame-Options` header, a sandboxed iframe could have… Also affects thunderbird
- CVE-2024-5690 By monitoring the time certain operations take, an attacker could have guessed which… Also affects thunderbird
- CVE-2024-4777 Memory safety bugs present in Firefox 125, Firefox ESR 115.10, and Thunderbird 115.10. Also affects thunderbird