CVE-2016-2047

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

SeverityMedium
CVSS5.9
Exploit probability—
ProductMariadb
PublishedJan 27, 2016
First seenJan 27, 2016

How to fix

Update
  • mariadb mariadb5.5.47, 10.0.23, 10.1.10 or later

Affected products

ProductAffected versionsFixed in
mariadb mariadb5.5.20 ≤ v < 5.5.47, 10.0.0 ≤ v < 10.0.23, 10.1.0 ≤ v < 10.1.105.5.47, 10.0.23, 10.1.10
oracle linux7—
oracle mysql5.5.0 ≤ v ≤ 5.5.48, 5.6.0 ≤ v ≤ 5.6.29, 5.7.0 ≤ v ≤ 5.7.11—
opensuse leap42.1—
redhat enterprise_linux6.0, 7.0—
debian debian_linux8.0, 9.0—
canonical ubuntu_linux12.04, 14.04, 15.10, 16.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.