WaratekVRT Sign in

CVE-2012-6153

Severity4.3 Medium CVSS 2.0
Fixed in4.2.3
WeaknessImproper input validation (CWE-20)
Published4 Sep 2014
Updated16 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.

  • 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

Protected by Waratek

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 file

The 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-04

How 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.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.httpcomponents:httpclient 0 4.2.3 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd apache commons-httpclient generic ≥ 4.0 and ≤ 4.2.2
osv org.apache.httpcomponents httpclient generic < 4.2.3

References

URLTags
https://github.com/apache/httpcomponents-client/commit/6e14fc146a66e0f3eb362f45f95d1a58ee18886a WEB
https://github.com/apache/httpcomponents-client/commit/b930227f907af1198765fc47beabbddae344ca7b WEB
https://access.redhat.com/solutions/1165533 WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1129916 WEB
https://github.com/advisories/GHSA-2x83-r56g-cv47 ADVISORY
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05103564 WEB
http://rhn.redhat.com/errata/RHSA-2014-1098.html WEB
http://rhn.redhat.com/errata/RHSA-2014-1833.html WEB
http://rhn.redhat.com/errata/RHSA-2014-1834.html WEB
http://rhn.redhat.com/errata/RHSA-2014-1835.html WEB

Timeline

Published2014-09-04By the CVE Program.
ARMR remediation created2020-06-25Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-16NVD's own last-modified date for this record.