1. CVE archive
  2. 2016
  3. CVE-2016-2047

CVE-2016-2047

5.9 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 5.9 – Medium

Description

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

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
canonical ubuntu linux 15.10 –
canonical ubuntu linux 16.04 –
debian debian linux 8.0 –
debian debian linux 9.0 –
mariadb mariadb >= 5.5.20 < 5.5.47 –
mariadb mariadb >= 10.0.0 < 10.0.23 –
mariadb mariadb >= 10.1.0 < 10.1.10 –
opensuse leap 42.1 –
oracle linux 7 –
oracle mysql >= 5.5.0 <= 5.5.48 –
oracle mysql >= 5.6.0 <= 5.6.29 –
oracle mysql >= 5.7.0 <= 5.7.11 –
redhat enterprise linux 6.0 –
redhat enterprise linux 7.0 –
All 435 Mariadb vulnerabilities
All 1,328 Oracle Mysql vulnerabilities

Vulnerability type

CWE-254 7PK - Security Features

Software security is not security software. Here we're concerned with topics like authentication, access control, confidentiality, cryptography, and privilege management.

Broad category: NVD uses it when it does not assign a more specific type.

All 382 CWE-254 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org