CVE-2016-6662

Severity CVSS v4.0:
Pending analysis
Type:
CWE-264 Permissions, Privileges, and Access Control
Publication date:
20/09/2016
Last modified:
12/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.5.0 (including) 5.5.52 (including)
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.6.0 (including) 5.6.33 (including)
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.7.0 (including) 5.7.15 (including)
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* 5.5 (including) 5.5.51-38.1 (excluding)
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* 5.6 (including) 5.6.32-78.0 (excluding)
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* 5.7 (including) 5.7.14-7 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.5.20 (including) 5.5.51 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.0.0 (including) 10.0.27 (excluding)
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.1.0 (including) 10.1.17 (excluding)
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:5.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:7.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:8:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:9:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools