Vulnerability in Mariadb
CVE-2016-2047
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."
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.037, 90.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mariadb
- Oracle Linux — versions 7
- Oracle MySQL
- Canonical Ubuntu Linux — versions 12.04, 14.04, 15.10
- Debian Linux — versions 8.0, 9.0
- openSUSE Leap — versions 42.1
- Red Hat Enterprise Linux — versions 6.0, 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, RedHatSatellite/satellite-host-cve). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- SUSE-SU-2016:1620 (vendor-advisory, Mailing List, Third Party Advisory)
- RHSA-2016:1481 (vendor-advisory, Third Party Advisory)
- RHSA-2016:1132 (vendor-advisory, Third Party Advisory)
- RHSA-2016:0534 (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1035606 (Third Party Advisory, VDB Entry, vdb-entry)
- [oss-security] 20160126 Flaw in mariadb clients SSL certificate validation (mailing-list, Mailing List, Third Party Advisory)
- USN-2953-1 (vendor-advisory, Third Party Advisory)
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html (Third Party Advisory)
- openSUSE-SU-2016:1332 (vendor-advisory, Mailing List, Third Party Advisory)
- USN-2954-1 (vendor-advisory, Third Party Advisory)