### [CVE-2013-4238](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4238) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%20n%2Fa%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408. ### POC #### Reference - http://seclists.org/fulldisclosure/2014/Dec/23 - http://seclists.org/fulldisclosure/2014/Dec/23 - http://www.ubuntu.com/usn/USN-1982-1 - http://www.ubuntu.com/usn/USN-1982-1 - http://www.vmware.com/security/advisories/VMSA-2014-0012.html - http://www.vmware.com/security/advisories/VMSA-2014-0012.html #### Github No PoCs found on GitHub currently.