MariaDB 5.5.x < 5.5.55 / 10.0.x < 10.0.30 / 10.1.x < 10.1.22 / 10.2.x < 10.2.5 Multiple Vulnerabilities

medium Nessus Plugin ID 99670

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The version of MariaDB running on the remote host is 5.5.x prior to 5.5.55, 10.0.x prior to 10.0.30, 10.1.x prior to 10.1.22, or 10.2.x prior to 10.2.5. It is, therefore, affected by multiple vulnerabilities :

- A use-after-free error exists in file client.c in the mysql_prune_stmt_list() function that allows an unauthenticated, remote attacker to crash the database.
(CVE-2017-3302)

- Multiple unspecified flaws exist in the DML subcomponent that allow an authenticated, remote attacker to cause a denial of service condition. Note that these issues only affect version 5.5.x. (CVE-2017-3308, CVE-2017-3456)

- Multiple unspecified flaws exist in the Optimizer subcomponent that allow an authenticated, remote attacker to cause a denial of service condition. Note that these issues only affect version 5.5.x.
(CVE-2017-3309, CVE-2017-3453)

- An unspecified flaw exists in the MyISAM subcomponent that allows a local attacker to disclose sensitive information. (CVE-2017-3313)

- An unspecified flaw exists in the DDL subcomponent that allows an authenticated, remote attacker to impact integrity. Note that this issue only affects version 5.5.x. (CVE-2017-3464)

- A denial of service vulnerability exists in the Field_time::store_TIME_with_warning() function when handling specially crafted INSERT queries. An authenticated, remote attacker can exploit this to crash the database. Note that this issue only affects versions 5.5.x and 10.0.x.

- A denial of service vulnerability exists in the JOIN_CACHE::create_remaining_fields() function in file sql_join_cache.cc when handling data caching. An authenticated, remote attacker can exploit this to crash the database.

- A denial of service vulnerability exists in the SJ_TMP_TABLE::create_sj_weedout_tmp_table() function in file opt_subselect.cc when handling specially crafted WHERE queries. An authenticated, remote attacker can exploit this to crash the database. Note that this issue only affects versions 10.0.x and 10.1.x.

- A denial of service vulnerability exists in the ha_partition::reset() function in file ha_partition.cc when handling specially crafted SELECT queries. An authenticated, remote attacker can exploit this to crash the database.

- A denial of service vulnerability exists in the find_field_in_tables() function in file sql_base.cc when handling stored procedures in EXISTS queries. An authenticated, remote attacker can exploit this to crash the database. Note that this issue only affects versions 10.0.x, 10.1.x, and 10.2.x.

- A denial of service vulnerability exists in the JOIN::drop_unused_derived_keys() function in file sql_select.cc when handling specially crafted SELECT statements. An authenticated, remote attacker can exploit this to crash the database. Note that this issue only affects versions 5.5.x, 10.1.x, and 10.2.x.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MariaDB version 5.5.55 / 10.0.30 / 10.1.22 / 10.2.5 or later.

See Also

https://mariadb.com/kb/en/library/mariadb-5555-changelog/

https://mariadb.com/kb/en/library/mariadb-10030-changelog/

https://mariadb.com/kb/en/library/mariadb-10122-changelog/

https://mariadb.com/kb/en/library/mariadb-1025-changelog/

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

https://mariadb.com/kb/en/library/mariadb-10030-release-notes/

https://mariadb.com/kb/en/library/mariadb-10122-release-notes/

https://mariadb.com/kb/en/library/mariadb-1025-release-notes/

Plugin Details

Severity: Medium

ID: 99670

File Name: mariadb_10_0_30.nasl

Version: 1.9

Type: remote

Family: Databases

Published: 4/25/2017

Updated: 11/18/2022

Configuration: Enable paranoid mode

Supported Sensors: Frictionless Assessment Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 1.5

Temporal Score: 1.1

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

CVSS Score Source: CVE-2017-3313

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

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

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

Vulnerability Information

CPE: cpe:/a:mariadb:mariadb

Required KB Items: Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 3/8/2017

Vulnerability Publication Date: 12/19/2011

Reference Information

CVE: CVE-2017-3302, CVE-2017-3313

BID: 95527, 96162, 97725, 97742, 97776, 97818, 97831