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: 2/23/2017

Updated: 6/4/2019

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS v3

Risk Factor: Critical

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: 2/22/2017

Vulnerability Publication Date: 9/20/2016

Reference Information

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

ALAS: 2017-800