Lucene search

K
redhatcveRedhat.comRH:CVE-2016-6662
HistoryDec 15, 2016 - 8:18 p.m.

CVE-2016-6662

2016-12-1520:18:44
redhat.com
access.redhat.com
48

0.009 Low

EPSS

Percentile

83.1%

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.

Mitigation

- Ensure all MySQL / MariaDB configuration files are not writeable to the mysql user. This is the default configuration in Red Hat products.

- Ensure that non-administrative database users are not granted FILE privilege. Applications accessing data in MySQL / MariaDB databases, including web application potentially vulnerable to SQL injections, should use database accounts with the lowest privileges required.

- If FILE permission needs to be granted to some non-administrative database users, use secure_file_priv setting to limit where files can be written to or read from.