MariaDB Server 10.0.x < 10.0.22 / 10.1.x < 10.1.9 Multiple Vulnerabilities

medium Nessus Network Monitor Plugin ID 9303

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 10.0.x earlier than 10.0.22 or 10.1.x earlier than 10.1.9, and is therefore affected by the following vulnerabilities :

- A denial of service vulnerability exists due to a flaw in the 'ha_partition::index_init()' function that is triggered when handling the priority queue. An authenticated, remote attacker can exploit this, via a specially crafted query, to cause the database to crash.
- A denial of service vulnerability exists due to a flaw in the 'Item_field::fix_outer_field()' function that is triggered when handling PREPARE statements. An authenticated, remote attacker can exploit this, via a specially crafted query, to cause the database to crash.
- A denial of service vulnerability exists due to a flaw in the 'handle_grant_struct()' function that is triggered when handling HASH updates. An authenticated, remote attacker can exploit this, via a specially crafted query, to cause the database to crash.
- A denial of service vulnerability exists due to a flaw in the 'is_invalid_role_name()' function that is triggered when handling ACLs with blank role names. An authenticated, remote attacker can exploit this, via a specially crafted query, to cause the database to crash.
- A denial of service vulnerability exists due to a flaw in the 'Item_direct_view_ref' class that is triggered when handling SELECT queries. An authenticated, remote attacker can exploit this, via a specially crafted query, to cause the database to crash.
- A denial of service vulnerability exists due to a flaw in the 'opt_sum_query()' function that is triggered when handling constant tables. An authenticated, remote attacker can exploit this, via a specially crafted query, to cause the database to crash.

Solution

Upgrade to version 10.1.9 or later. If version 10.1.x cannot be obtained, 10.0.22 is also patched for these issues.

See Also

https://blog.mariadb.org/mariadb-10-0-22-now-available

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

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

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

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

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

Plugin Details

Severity: Medium

ID: 9303

Family: Database

Published: 5/13/2016

Updated: 3/6/2019

Nessus ID: 84796

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

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: 10/30/2015

Vulnerability Publication Date: 8/13/2015

Reference Information

CVE: CVE-2015-2582, CVE-2015-2620, CVE-2015-2643, CVE-2015-2648, CVE-2015-3152, CVE-2015-4752, CVE-2015-4864