Amazon Linux AMI : mysql51 (ALAS-2017-800)

Critical Nessus Plugin ID 97329

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

It was discovered that the MySQL logging functionality allowed writing to MySQL configuration files. An administrative database user, or a database user with FILE privileges, could possibly use this flaw to run arbitrary commands with root privileges on the system running the database server. (CVE-2016-6662)

A race condition was found in the way MySQL performed MyISAM engine table repair. A database user with shell access to the server running mysqld could use this flaw to change permissions of arbitrary files writable by the mysql system user. (CVE-2016-5616 , CVE-2016-6663)

Solution

Run 'yum update mysql51' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2017-800.html

Plugin Details

Severity: Critical

ID: 97329

File Name: ala_ALAS-2017-800.nasl

Version: 3.4

Type: local

Agent: unix

Published: 2017/02/23

Updated: 2019/06/04

Dependencies: 12634

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

Temporal Score: 7.8

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:mysql51, p-cpe:/a:amazon:linux:mysql51-bench, p-cpe:/a:amazon:linux:mysql51-common, p-cpe:/a:amazon:linux:mysql51-debuginfo, p-cpe:/a:amazon:linux:mysql51-devel, p-cpe:/a:amazon:linux:mysql51-embedded, p-cpe:/a:amazon:linux:mysql51-embedded-devel, p-cpe:/a:amazon:linux:mysql51-libs, p-cpe:/a:amazon:linux:mysql51-server, p-cpe:/a:amazon:linux:mysql51-test, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2017/02/22

Vulnerability Publication Date: 2016/09/20

Reference Information

CVE: CVE-2016-5616, CVE-2016-6662, CVE-2016-6663

ALAS: 2017-800