CVE-2016-2047
Summary
The ssl_verify_server_cert function in sql-common/client.c in MariaDB before 5.5.47, 10.0.x before 10.0.23, and 10.1.x before 10.1.10; Oracle MySQL 5.5.48 and earlier, 5.6.29 and earlier, and 5.7.11 and earlier; and Percona Server do 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 a certificate, as demonstrated by "/OU=/CN=bar.com/CN=foo.com."
Impact & exploitability
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Additional information
- NVD record
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00035.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00053.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00033.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00034.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00051.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00053.htmlAdvisory
- http://rhn.redhat.com/errata/RHSA-2016-0534.htmlAdvisory
- http://rhn.redhat.com/errata/RHSA-2016-0705.htmlAdvisory