Lucene search

K
githubGitHub Advisory DatabaseGHSA-2X83-R56G-CV47
HistoryOct 17, 2018 - 12:05 a.m.

Improper certificate validation in org.apache.httpcomponents:httpclient

2018-10-1700:05:15
CWE-20
GitHub Advisory Database
github.com
44
apache httpclient
certificate validation
ssl servers
x.509 certificate
man-in-the-middle attackers
cve-2012-5783
incomplete fix

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

AI Score

6.1

Confidence

Low

EPSS

0.002

Percentile

62.0%

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.

Affected configurations

Vulners
Node
org.apache.httpcomponentshttpclientRange<4.2.3
VendorProductVersionCPE
org.apache.httpcomponentshttpclient*cpe:2.3:a:org.apache.httpcomponents:httpclient:*:*:*:*:*:*:*:*

References

CVSS2

5.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:P/A:N

AI Score

6.1

Confidence

Low

EPSS

0.002

Percentile

62.0%