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."

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Debian Linux Subscribe
Mariadb Subscribe
Mariadb Subscribe
Opensuse Subscribe
Enterprise Linux Subscribe
Rhel Software Collections Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-447-1 mysql-5.5 security update
Debian DSA Debian DSA DSA-3453-1 mariadb-10.0 security update
Debian DSA Debian DSA DSA-3557-1 mysql-5.5 security update
EUVD EUVD EUVD-2016-3153 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."
Ubuntu USN Ubuntu USN USN-2953-1 MySQL vulnerabilities
Ubuntu USN Ubuntu USN USN-2954-1 MySQL vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T23:17:50.187Z

Reserved: 2016-01-22T00:00:00.000Z

Link: CVE-2016-2047

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2016-01-27T20:59:05.610

Modified: 2025-04-12T10:46:40.837

Link: CVE-2016-2047

cve-icon Redhat

Severity : Moderate

Publid Date: 2015-11-30T00:00:00Z

Links: CVE-2016-2047 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses