CVEvulnerability

CVE-2012-6153

4.3 MEDIUM Published 2014-09-04 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2014-09-04
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
Weaknesses
CWE-20

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.

Affected configurations

• apache commons-httpclient (>= 4.0 <= 4.2.2)

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References