CVE-2012-6153
Description
http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 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 certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5783.
How to fix
- org.apache.httpcomponents:httpclient4.2.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| apache commons-httpclient | 4.0 ≤ v ≤ 4.2.2 | — |
| org.apache.httpcomponents:httpclientMaven | v < 4.2.3 | 4.2.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.