CVE-2026-136230 — Mozilla Thunderbird (153.*) — CWE-522
When a CardDAV address book was accessed through an HTTP proxy that requested authentication, Thunderbird could answer the proxy with the CardDAV server's username and password. This affected both setting up a new address book and syncing existing ones, where a saved password could be sent without any user interaction. A malicious or compromised proxy could use this to obtain the address book credentials, even for address books served over HTTPS. This vulnerability was fixed in Thunderbird 161 and Thunderbird 153.8.
When a CardDAV address book was accessed through an HTTP proxy that requested authentication, Thunderbird could answer the proxy with the CardDAV server's username and password. This affected both setting up a new address book and syncing existing ones, where a saved password could be sent without any user interaction. A malicious or compromised proxy could use this to obtain the address book credentials, even for address books served over HTTPS. This vulnerability was fixed in Thunderbird 161 and Thunderbird 153.8.
🎯 What is this vulnerability?
Technical flaw
When Thunderbird (versions 153.0‑153.7) accessed a CardDAV address book through an HTTP proxy that demanded authentication, the client mistakenly forwarded the CardDAV server’s username and password to the proxy instead of the proxy’s own credentials.
The proxy receives the CardDAV credentials in the Proxy‑Authorization header, decodes them, and can then use them to authenticate to the CardDAV server (even if the server is HTTPS).
CWE – This is an Information Exposure flaw (CWE‑200) caused by a logic error in the proxy‑authentication handling code.
CVSS – The CVSS vector is listed as 0/10 (NONE) because the flaw does not provide direct remote code execution or privilege escalation; it only leaks stored credentials.
⚡ Attack Chain
| Step | Description | Technical details | |
|---|---|---|---|
| 1. Discovery & Reconnaissance | Identify a target running Thunderbird 153.* (or an older 161‑series build that still contains the bug). | • Scan for installed applications on the host (e.g., wmic product get name,version on Windows, dpkg -l | grep thunderbird on Debian). <br>• Verify the version: thunderbird --version or check the “About Thunderbird” dialog. |
| 2. Set up a malicious proxy | The attacker runs an HTTP proxy that requires authentication. | • Use a simple proxy such as mitmproxy or tinyproxy configured with --mode regular and --listen-port 8080. <br>• Enable the --auth option (e.g., --auth user:pass) so the proxy will send a Proxy‑Authenticate: Basic realm="Proxy" challenge. <br>• Configure the proxy to log all requests, including headers, to a file (/var/log/proxy.log). | |
| 3. Configure Thunderbird to use the proxy | The victim’s Thunderbird is set to route CardDAV traffic through the malicious proxy. | • In Thunderbird → Preferences → Advanced → Network → Settings → “Manual proxy configuration”. <br>• Enter localhost:8080 for HTTP proxy and check “Use this proxy server for all protocols”. | |
| 4. Trigger a CardDAV sync | Thunderbird initiates a sync (new address book creation or existing sync). | • The client sends a request to https://carddav.example.com/ (or http://). <br>• Because the proxy requires authentication, Thunderbird automatically forwards the CardDAV credentials in the Proxy‑Authorization header. | |
| 5. Capture the credentials | The attacker reads the proxy logs. | Illustrative log entry (actual format depends on proxy):<br>``\n[2026-11-30 12:34:56] CONNECT carddav.example.com:443 HTTP/1.1\nProxy-Authorization: Basic Y2FyZGRhdGF1c2VyOmN1cnJlbnRwYXNz\n`<br>Decode the Base64 value: Y2FyZGRhdGF1c2VyOmN1cnJlbnRwYXNz → carddavuser:currentpass. | |
| 6. Use the stolen credentials | The attacker can now authenticate to the CardDAV server and read the address book. | `bash\ncurl -u carddavuser:currentpass https://carddav.example.com/contacts/1\n``<br>Or use a CardDAV client to enumerate all collections. | |
| 7. Post‑exploitation | The attacker can exfiltrate contact data, impersonate the user on other services that share the same credentials, or use the credentials to pivot to other internal systems. | • Export contacts to CSV or vCard.<br>• Use the credentials to log into corporate email or intranet portals if the same account is reused. |
Note – The exact CardDAV endpoint (/contacts/1) is illustrative; the real path depends on the server implementation.🌍 Real World Impact
| Impact | Assessment |
|---|---|
| Confidentiality | High – The attacker obtains the CardDAV username and password, which may be reused for other services. |
| Integrity | Low – The flaw does not alter data; it only leaks credentials. |
| Availability | Low – No denial‑of‑service effect. |
Practical consequences
- An attacker can harvest contact lists, including email addresses, phone numbers, and organization data.
- If the same credentials are used for corporate email or other internal services, the attacker can gain broader access.
- The vulnerability can be leveraged in phishing or social‑engineering campaigns by providing the attacker with a ready‑made credential set.
- Upgrade to Thunderbird 153.8 or later (including 161.0.1 and newer). * The patch removes the logic that forwards CardDAV credentials to the proxy. * Verify the update by running
- CVSS – 0/10 (NONE) – The flaw does not provide direct RCE or privilege escalation.
- CISA KEV – No – Not listed as a known exploit kit.
- Exploit Complexity – Low – Requires only a malicious proxy and a Thunderbird client configured to use it.
- Impact – High confidentiality risk due to credential leakage.
🛡️ Remediation & Mitigation
Affected Versions
Thunderbird 153.0 – 153.7 (any 153. build before 153.8) Thunderbird 161.0 – 161.x (any 161. build before the 161.0.1 patch, if applicable)Upgrade Recommendation
thunderbird --version after installation.Workarounds (if upgrade is not immediately possible)
| Mitigation | How to implement |
|---|---|
| Disable proxy for CardDAV traffic | In Thunderbird → Preferences → Advanced → Network → Settings, uncheck “Use this proxy server for all protocols” or set a separate proxy for HTTP/HTTPS that does not require authentication. |
| Use a local proxy that does not request authentication | Configure the proxy to allow unauthenticated connections (--no-auth in mitmproxy or Proxy-Authorization: Basic disabled). |
| Firewall rule to block outbound CardDAV via proxy | On the client host, block traffic from Thunderbird’s process to the proxy port (e.g., iptables -A OUTPUT -p tcp --dport 8080 -j DROP). |
| WAF/ModSecurity rule to detect leaked credentials | Add a rule that flags any Proxy-Authorization header containing Base64‑encoded strings that match typical credential patterns. Example (ModSecurity 2.x):<br>SecRule REQUEST_HEADERS:Proxy-Authorization "@rx Basic [A-Za-z0-9+/=]+" "id:1001,phase:2,log,deny,msg:'CardDAV credential leakage detected'" |
Detection
| Indicator | Log pattern | How to look |
|---|---|---|
Proxy log shows Proxy-Authorization header | Proxy-Authorization: Basic <base64> | Inspect proxy logs (/var/log/proxy.log or mitmproxy console). |
| Repeated identical Authorization header | Same Base64 string in multiple requests | Use grep or awk to find duplicates. |
| Unusual outbound traffic to CardDAV server via proxy | CONNECT carddav.example.com:443 or GET https://carddav.example.com/... | Check firewall or IDS logs for connections to the CardDAV domain. |
⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query