CVE-2016-2047 Security feature bypass in n/a

Medium 5.9 Published Updated

Man-in-the-middle attackers can spoof SSL servers by bypassing hostname verification in MariaDB, MySQL, and Percona Server clients.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-2047?

CVE-2016-2047 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 27 Jan 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-254

Which versions are affected by CVE-2016-2047?

It affects 7 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Mariadb Mariadb, Opensuse Leap, Oracle Linux, Oracle Mysql and 1 more.

How do I fix CVE-2016-2047?

Upgrade to a fixed version.

Is CVE-2016-2047 being exploited?

There is no known exploitation of CVE-2016-2047 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-gw5g-54qg-7583, UBUNTU-CVE-2016-2047.

Is CVE-2016-2047 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free