Oracle MySQL 5.6.x < 5.6.34 Multiple Vulnerabilities

Critical Nessus Network Monitor Plugin ID 9748


The remote database server is vulnerable to multiple attack vectors.


The version of MySQL installed on the remote host is version 5.6.x prior to 5.6.34 and is affected by multiple issues :

- An unspecified flaw exists related to the Security: Encryption subcomponent. This may allow an authenticated remote attacker to disclose potentially sensitive information. No further details have been provided by the vendor. (CVE-2016-5584)
- A flaw exists that may allow a local attacker with DBA permissions to gain elevated privileges. The issue is due to the program not properly restricting the ability to write to configuration files (e.g. my.cnf), combined with it loading a configuration file from specific locations that current versions do not use (e.g. /var/lib/mysql/my.cnf). This may allow an attacker to leverage specially crafted queries to use logging functionality to create new files or append custom content to existing files. By placing a custom .cnf file that MySQL will load, with a 'malloc_lib=' directive pointing to an attacker controlled '' file, the attacker can cause MySQL to read the configuration file and load the malicious library the next time it starts. This can allow the attacker to gain root privileges. (CVE-2016-6662)


Upgrade to MySQL 5.6.34 or later.

See Also

Plugin Details

Severity: Critical

ID: 9748

File Name: 9748.prm

Family: Database

Published: 2016/11/04

Modified: 2016/11/04

Dependencies: 8914

Nessus ID: 94166, 94197

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.7

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

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


Base Score: 9.8

Temporal Score: 9.3


Temporal Vector: CVSS3#E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:oracle:mysql

Patch Publication Date: 2015/10/12

Vulnerability Publication Date: 2016/09/12

Reference Information

CVE: CVE-2016-5584, CVE-2016-6662

BID: 93735

OSVDB: 144086, 145998