Skip to main content
Mallory
MediumVulnerability

CVE-2012-6153: SSL hostname-verification bypass in Apache HttpClient

Published Sep 4, 2014 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS4.3Medium · v2
EPSS5.8%93rd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Apache Software Foundation
IdentifiersCVE-2012-6153CWE-297

CVE-2012-6153 is an SSL/TLS hostname-verification vulnerability in Apache Commons HttpClient before version 4.2.3. The AbstractVerifier implementation incorrectly extracts and validates certificate subject information when matching a server hostname against X.509 Common Name (CN) or subjectAltName values. A man-in-the-middle attacker can impersonate an SSL server using a specially crafted certificate whose subject places a common-name value in a field other than the CN field. The vulnerability results from an incomplete fix for CVE-2012-5783. Its own remediation was subsequently found incomplete, leading to CVE-2014-3577. Applications incorporating the affected HttpClient implementation, including certain Apache CXF deployments, can inherit the flaw.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation bypasses SSL server hostname authentication and allows an attacker positioned between the client and server to impersonate the intended server. This can compromise the confidentiality and integrity of communications, including interception and tampering.

Mitigation

If you can’t patch tonight, do this now.

Until patched, avoid untrusted network paths and use network-level protections such as VPNs and segmentation to reduce opportunities for interception between affected clients and servers. These measures reduce man-in-the-middle exposure but do not correct certificate hostname validation.

Remediation

Patch, then assume compromise.

Install a maintained HttpClient release or vendor package that addresses both CVE-2012-6153 and the subsequent incomplete-fix vulnerability CVE-2014-3577; do not rely solely on the original 4.2.3 correction. For Amazon Linux 1, apply the jakarta-commons-httpclient update associated with ALAS-2014-410. For affected Red Hat JBoss deployments, apply the product-specific security update and restart the JBoss server where required. For HCL Portal, apply the relevant WebSphere Application Server and Portal fixes; the migration recommendation for custom code is Apache HttpClient 4.3.6. Affected Jenkins core installations should upgrade to 2.73.2 or later in the 2.73.x line, or 2.84 or later for installations in the 2.74–2.83 range. Jenkins Swarm clients should upgrade to version 3.5 or later.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationCommons-Httpclientapplication
FAQ

Frequently asked questions

Is CVE-2012-6153 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2012-6153 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2012-6153?
As of Oct 16, 2026, Mallory has found no public exploit for CVE-2012-6153.
Is there a patch for CVE-2012-6153?
Install a maintained HttpClient release or vendor package that addresses both CVE-2012-6153 and the subsequent incomplete-fix vulnerability CVE-2014-3577; do not rely solely on the original 4.2.3 correction. For Amazon Linux 1, apply the jakarta-commons-httpclient update associated with ALAS-2014-410.
What products are affected by CVE-2012-6153?
Apache Software Foundation Commons-Httpclient.
How severe is CVE-2012-6153?
CVE-2012-6153 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 5.8% (93rd percentile) as of Oct 16, 2026.
Activity feed

Recent activity

73 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+66 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.