CVE-2012-6153
| Severity | 4.3 Medium CVSS 2.0 |
|---|---|
| Fixed in | 4.2.3 |
| Weakness | Improper input validation (CWE-20) |
| Published | 4 Sep 2014 |
| Updated | 16 Jun 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 12 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 5.8% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full
- Action available patch rule
- Review human ARMR file
- Record active
| Decided by | An ARMR patch file on disk for this CVE |
|---|---|
| Finding | CVE is covered by a multi-CVE ARMR patch rule |
ARMR rule files
1 fileThe rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.
CVE-2012-6153.armr patch rule, ARMR 2.6 added 2020-06-25 updated 2026-03-04How to mitigate CVE-2012-6153
Upgrade the affected software to 4.2.3 or later. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.httpcomponents:httpclient |
0 | 4.2.3 |
unbounded |
Products and versions
2 products, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | commons-httpclient | generic | ≥ 4.0 and ≤ 4.2.2 |
| osv | org.apache.httpcomponents | httpclient | generic | < 4.2.3 |
References
Timeline
Timeline
| Published | 2014-09-04 | By the CVE Program. |
|---|---|---|
| ARMR remediation created | 2020-06-25 | Earliest commit adding this CVE's ARMR patch or security rule. |
| ARMR remediation last updated | 2026-03-04 | Most recent commit touching this CVE's ARMR patch or security rule. |
| Last VRT activity | 2026-03-04 | Most recent commit touching this CVE's classification, patch or rule file. |
| NVD record modified | 2026-06-16 | NVD's own last-modified date for this record. |