MariaDB Server 5.5.x < 5.5.47 / 10.0.x < 10.0.23 / 10.1.x < 10.1.10 Multiple Vulnerabilities

medium Nessus Network Monitor Plugin ID 9287

Synopsis

The remote database server is affected by multiple attack vectors.

Description

MariaDB is a community-developed fork of the MySQL relational database. The version of MariaDB installed on the remote host is 5.5.x earlier than 5.5.47, or 10.0.x earlier than 10.0.23, or 10.1.x earlier than 10.1.10, and is therefore affected by multiple vulnerabilities :

- A flaw exists in 'mysql_upgrade' that is due to the program leaking plaintext password information to the process listing when spawning a shell process to execute mysqlcheck. This may allow a local attacker to gain access to password information.
- A flaw exists in 'ha_innodb.cc' that is triggered when handling lower case table names. This may allow an authenticated attacker to cause a crash.
- A flaw exists related to certificate validation in the 'ssl_verify_server_cert()' function in 'sql-common/client.c'. The issue is due to the server hostname not being verified to match a domain name in the Subject's Common Name (CN) or SubjectAltName field of the X.509 certificate. By spoofing the TLS/SSL server via a certificate that appears valid, an attacker with the ability to intercept network traffic (e.g. MiTM, DNS cache poisoning) can disclose and optionally manipulate transmitted data.

Solution

Upgrade to version 10.1.10 or later. If version 10.1.x cannot be obtained, versions 10.0.23 and 5.5.47 have also been patched for these issues.

See Also

https://mariadb.com/kb/en/mariadb-10110-release-notes

https://mariadb.com/kb/en/mariadb-10110-changelog

https://mariadb.com/kb/en/mariadb/mariadb-10023-release-notes

https://mariadb.com/kb/en/mariadb/mariadb-10023-changelog

https://mariadb.com/kb/en/mariadb/mariadb-5547-release-notes

https://mariadb.com/kb/en/mariadb/mariadb-5547-changelog

https://mariadb.atlassian.net/browse/MDEV-8825

https://mariadb.atlassian.net/browse/MDEV-9212

https://mariadb.atlassian.net/browse/MDEV-9233

Plugin Details

Severity: Medium

ID: 9287

Family: Database

Published: 5/13/2016

Updated: 3/6/2019

Risk Information

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 6

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:mariadb:mariadb

Patch Publication Date: 12/10/2015

Vulnerability Publication Date: 8/17/2015