EulerOS 2.0 SP2 : mariadb (EulerOS-SA-2017-1170)

This script is Copyright (C) 2017 Tenable Network Security, Inc.


Synopsis :

The remote EulerOS host is missing multiple security updates.

Description :

According to the versions of the mariadb packages installed, the
EulerOS installation on the remote host is affected by the following
vulnerabilities :

- It was discovered that the mysql and mysqldump tools
did not correctly handle database and table names
containing newline characters. A database user with
privileges to create databases or tables could cause
the mysql command to execute arbitrary shell or SQL
commands while restoring database backup created using
the mysqldump tool. (CVE-2016-5483, CVE-2017-3600)

- A flaw was found in the way the mysqld_safe script
handled creation of error log file. The mysql operating
system user could use this flaw to escalate their
privileges to root. (CVE-2016-5617, CVE-2016-6664)

- Multiple flaws were found in the way the MySQL init
script handled initialization of the database data
directory and permission setting on the error log file.
The mysql operating system user could use these flaws
to escalate their privileges to root. (CVE-2017-3265)

- It was discovered that the mysqld_safe script honored
the ledir option value set in a MySQL configuration
file. A user able to modify one of the MySQL
configuration files could use this flaw to escalate
their privileges to root. (CVE-2017-3291)

- Multiple flaws were found in the way the mysqld_safe
script handled creation of error log file. The mysql
operating system user could use these flaws to escalate
their privileges to root. (CVE-2017-3312)

- A flaw was found in the way MySQL client library
(libmysqlclient) handled prepared statements when
server connection was lost. A malicious server or a
man-in-the-middle attacker could possibly use this flaw
to crash an application using libmysqlclient.
(CVE-2017-3302)

- This update fixes several vulnerabilities in the
MariaDB database server. Information about these flaws
can be found on the Oracle Critical Patch Update
Advisory page, listed in the References section.
(CVE-2017-3238, CVE-2017-3243, CVE-2017-3244,
CVE-2017-3258, CVE-2017-3308, CVE-2017-3309,
CVE-2017-3313, CVE-2017-3317, CVE-2017-3318,
CVE-2017-3453, CVE-2017-3456, CVE-2017-3464)

Note that Tenable Network Security has extracted the preceding
description block directly from the EulerOS security advisory. Tenable
has attempted to automatically clean and format it as much as possible
without introducing additional issues.

See also :

http://www.nessus.org/u?e800867b

Solution :

Update the affected mariadb packages.

Risk factor :

Medium / CVSS Base Score : 6.9
(CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 5.1
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now