PT-2012-1252

CVE-2012-6153

·

Published

2012-11-20

·

Updated

2018-10-17

Description by

CVSS 2.0
5.0
Medium
MetricsAV:N/AC:L/Au:N/C:N/I:P/A:N
Name of the Vulnerable Software and Affected Versions Apache Commons HttpClient versions prior to 4.2.3
Description The issue is related to insufficient verification of input data in the Apache Commons HttpClient library, part of Apache HttpComponents. This allows a remote attacker to spoof SSL servers using a specially crafted certificate. The problem arises because the server hostname is not properly checked against the domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate. Specifically, the AbstractVerifier.java class does not correctly verify the server hostname when the common name is specified in a field other than the CN field.
Recommendations For versions prior to 4.2.3, update to version 4.2.3 or later to resolve the issue. As a temporary workaround, consider restricting the use of SSL connections to trusted servers with properly validated certificates. Avoid using the AbstractVerifier.java class until a patch is applied.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-2X83-R56G-CV47
DLA-222-1
MGASA-2014-0347
MGASA-2014-0348
RHSA-2014:1098
RHSA-2014:1162
RHSA-2014:1320
RHSA-2014:1321
RHSA-2014:1833
RHSA-2014:1834
RHSA-2014:2019
RHSA-2015:0158
USN-2769-1
Found an issue in the description? Have something to add? Feel free to write us 👾