CVE-2012-6153: Apache Commons HttpClient - SSL Hostname Verification Bypass
- Cve: CVE-2012-6153
- Name: Apache Commons HttpClient - SSL Hostname Verification Bypass
- 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.
- Impact: Attackers can impersonate legitimate SSL servers, potentially leading to data interception or impersonation.
- Remediation: Update to version 4.2.3 or later to include the complete fix.
- Vulnerability type: misconfiguration
- Vulnerability impact: man_in_the_middle, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
- Epss score: 0.05844
- Epss percentile: 0.93362
- Assignee: [email protected]
- Published at: 2014-09-04T17:55:04Z
- Age in days: 4464
- Modified at: 2026-06-16T23:47:55Z
- References total: 21
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-6153
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| http://svn.apache.org/viewvc?view=revision&revision=1411705 | Vendor Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1098.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1833.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1834.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1835.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1836.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1891.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2014-1892.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2015-0125.html | Third Party Advisory |
| http://rhn.redhat.com/errata/RHSA-2015-0158.html | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:commons-httpclient | >= 4.0, <= 4.2.2 | no | nvd | /v1/products/apache/commons-httpclient |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/httpcomponents-client | commit | yes | /v1/repositories/apache/httpcomponents-client |
Index
- Repositories: 251
- Repositories high signal: 161
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts