CVE-2016-6662

Critical

Description

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15.

SeverityCritical
CVSS9.8
Exploit probability—
ProductOracle Mysql
PublishedSep 20, 2016
First seenSep 20, 2016

How to fix

Update
  • percona percona_server5.5.51-38.1, 5.6.32-78.0, 5.7.14-7 or later
  • mariadb mariadb5.5.51, 10.0.27, 10.1.17 or later

Affected products

ProductAffected versionsFixed in
oracle mysql5.5.0 ≤ v ≤ 5.5.52, 5.6.0 ≤ v ≤ 5.6.33, 5.7.0 ≤ v ≤ 5.7.15—
percona percona_server5.5 ≤ v < 5.5.51-38.1, 5.6 ≤ v < 5.6.32-78.0, 5.7 ≤ v < 5.7.14-75.5.51-38.1, 5.6.32-78.0, 5.7.14-7
mariadb mariadb5.5.20 ≤ v < 5.5.51, 10.0.0 ≤ v < 10.0.27, 10.1.0 ≤ v < 10.1.175.5.51, 10.0.27, 10.1.17
debian debian_linux8.0—
redhat openstack5.0, 6.0, 7.0, 8, 9—
redhat enterprise_linux7.0—
redhat enterprise_linux_desktop6.0, 7.0—
redhat enterprise_linux_server6.0—
redhat enterprise_linux_server_aus7.3, 7.4, 7.6—
redhat enterprise_linux_server_eus7.3, 7.4, 7.5, 7.6—
redhat enterprise_linux_server_tus7.3, 7.6—
redhat enterprise_linux_workstation6.0, 7.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.