msmtp NULL Character CA SSL Certificate Validation Security Bypass Vulnerability

BID:54201

Info

msmtp NULL Character CA SSL Certificate Validation Security Bypass Vulnerability

Bugtraq ID: 54201
Class: Design Error
CVE: CVE-2009-3942
Remote: Yes
Local: No
Published: Dec 13 2009 12:00AM
Updated: Dec 13 2009 12:00AM
Credit: Dan Kaminsky and Moxie Marlinspike
Vulnerable: msmtp msmtp 1.4.18
Gentoo Linux
Not Vulnerable: msmtp msmtp 1.4.19

Discussion

msmtp NULL Character CA SSL Certificate Validation Security Bypass Vulnerability

msmtp is prone to a security-bypass vulnerability because it fails to properly validate the domain name in a signed CA certificate, allowing attackers to substitute malicious SSL certificates for trusted ones.

Successfully exploiting this issue allows attackers to perform man-in-the-middle attacks or impersonate trusted servers; this will aid in further attacks.

Exploit / POC

msmtp NULL Character CA SSL Certificate Validation Security Bypass Vulnerability

Attackers use man-in-the-middle attacks to exploit this issue.

Solution / Fix

msmtp NULL Character CA SSL Certificate Validation Security Bypass Vulnerability

Solution:
Updates are available. Please see the references for more information.

References

msmtp NULL Character CA SSL Certificate Validation Security Bypass Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report