CVE-2014-3577 – CXF: SSL hostname verification bypass, incomplete CVE-2012-6153 fix
https://notcve.org/view.php?id=CVE-2014-3577
org.apache.http.conn.ssl.AbstractVerifier in Apache HttpComponents HttpClient before 4.3.5 and HttpAsyncClient before 4.0.2 does not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a "CN=" string in a field in the distinguished name (DN) of a certificate, as demonstrated by the "foo,CN=www.apache.org" string in the O field. org.apache.http.conn.ssl.AbstractVerifier en Apache HttpComponents HttpClient anterior a 4.3.5 y HttpAsyncClient anterior a 4.0.2 no verifica debidamente que el nombre del servidor coincide con un nombre de dominio en el campo del asunto Common Name (CN) o subjectAltName del certificado X.509, lo que permite a atacantes man-in-the-middle falsificar servidores SSL a través de una cadena 'CN=' en un campo en el Distinguished Name (DN) de un certificado, tal y como fue demostrado por la cadena 'foo,CN=www.apache.org' en el campo O. It was found that the fix for CVE-2012-6153 was incomplete: the code added to check that the server hostname matches the domain name in a subject's Common Name (CN) field in X.509 certificates was flawed. A man-in-the-middle attacker could use this flaw to spoof an SSL server using a specially crafted X.509 certificate. • http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00032.html http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00033.html http://packetstormsecurity.com/files/127913/Apache-HttpComponents-Man-In-The-Middle.html http://rhn.redhat.com/errata/RHSA-2014-1146.html http://rhn.redhat.com/errata/RHSA-2014-1166.html http://rhn.redhat.com/errata/RHSA-2014-1833.html http://rhn.redhat.com/errata/RHSA-2014-1834.html http://rhn.redhat.com/errata/RHSA-2014-1835.html h • CWE-297: Improper Validation of Certificate with Host Mismatch •