Man-in-the-Middle (MitM) Affecting commons-httpclient:commons-httpclient package, versions [0,]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.83% (83rd 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 Learn

Learn about Man-in-the-Middle (MitM) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMMONSHTTPCLIENT-31660
  • published8 Apr 2018
  • disclosed4 Sept 2014
  • creditUnknown

Introduced: 4 Sep 2014

CVE-2012-6153  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for commons-httpclient:commons-httpclient.

Overview

commons-httpclient:commons-httpclient is a HttpClient component of the Apache HttpComponents project.

Affected versions of this package are vulnerable to Man-in-the-Middle (MitM) due to not verifing the requesting server's hostname agains 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 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.

References

CVSS Scores

version 3.1