Man-in-the-Middle (MitM) Affecting org.apache.httpcomponents:httpclient package, versions [4.0-alpha1,4.3.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
1.52% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEHTTPCOMPONENTS-30646
  • published8 Sept 2014
  • disclosed21 Aug 2014
  • creditUnknown

Introduced: 21 Aug 2014

CVE-2014-3577  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade org.apache.httpcomponents:httpclient to version 4.3.4 or higher.

Overview

org.apache.httpcomponents:httpclient is an HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Man-in-the-Middle (MitM) due to not verify the requesting server's hostname against existing domain names in the SSL Certificate.

The AbstractVerifier 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 "CN=" string in a field in the distinguished name (DN) of a certificate, as demonstrated by the "foo,CN=www.apache.org" string in the O field.

Details

CVSS Scores

version 3.1