CVE detail
CVE-2009-3765
Mutt SSL vulnerability allows man-in-the-middle attacks on SSL servers
Search another CVE
Summary
**Mutt 1.5.19–1.5.20** with OpenSSL does not validate embedded **NUL bytes** in X.509 certificate CN fields, enabling **MITM** against IMAPS/POP3S with wildcard-matching crafted certs (**CWE-310**).
Why exploitable
Why Exploitable
The vulnerability in mutt_ssl.c allows man-in-the-middle attackers to spoof SSL servers by crafting a certificate with a '\0' character in the domain name. This issue is related to CVE-2009-2408 and affects mutt versions 1.5.19 and 1.5.20 when using OpenSSL.
Key factors affecting exploitability:
- EPSS (Empirical Exploitation Probability Score) is not available, making it difficult to assess the likelihood of exploitation.
- The absence of public exploit/PoC references and CISA KEV listing reduces the perceived urgency.
- However, organizations should still validate their mutt versions and OpenSSL configurations to ensure they are not vulnerable to this attack.
It is essential for organizations to review their SSL certificate handling and validation processes to prevent potential man-in-the-middle attacks. Although there are no public exploits available, the vulnerability can still be exploited by skilled attackers. Therefore, organizations should prioritize patching or updating their mutt versions to prevent potential security breaches.
Technical details
Overview
CVE-2009-3765 is a certificate name validation flaw in Mutt's mutt_ssl.c when linked against OpenSSL. NUL in CN can truncate comparison, accepting attacker certs that match a prefix of the intended hostname.
Technical details
Related to CVE-2009-2408 class of NUL-in-CN issues. Legitimate CA-issued cert with crafted CN evil.com\\0.trusted.com may satisfy naive string compare.
Impact
Confidentiality breach of mail traffic — credentials and message content exposed to MITM on SSL/TLS mail connections.
Exploitation steps
- Position on network path to victim Mutt client. 2. Present crafted cert during IMAPS handshake. 3. Mutt accepts due to NUL truncation. 4. Proxy mail session.
Indicators of compromise
Unexpected cert warnings absent though wrong server; MITM appliance logs; CN anomalies in captured handshakes.
Mitigation and workarounds
Upgrade Mutt past 1.5.20; use distribution backports; verify cert hostnames with modern TLS libraries.
Community reactions
2009 OpenSSL application ecosystem wake-up alongside similar NUL-CN bugs in other clients.
Additional resources
References
- http://dev.mutt.org/trac/changeset/6016:dc09812e63a3/mutt_ssl.c
- http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00001.html
- http://marc.info/?l=oss-security&m=125198917018936&w=2
- http://marc.info/?l=oss-security&m=125369675820512&w=2
- http://dev.mutt.org/trac/changeset/6016:dc09812e63a3/mutt_ssl.c
- http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00001.html
- http://marc.info/?l=oss-security&m=125198917018936&w=2
- http://marc.info/?l=oss-security&m=125369675820512&w=2
Intelligence is provided for awareness and triage. Validate exposure in your own environment before prioritising remediation.