### [CVE-2014-3577](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3577) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - http://packetstormsecurity.com/files/127913/Apache-HttpComponents-Man-In-The-Middle.html - http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html - http://www.ubuntu.com/usn/USN-2769-1 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/Anonymous-Phunter/PHunter - https://github.com/CGCL-codes/PHunter - https://github.com/LibHunter/LibHunter - https://github.com/albfernandez/commons-httpclient-3 - https://github.com/argon-gh-demo/clojure-sample - https://github.com/rm-hull/nvd-clojure