CVE-2016-6664
Severity CVSS v4.0:
Pending analysis
Type:
CWE-59
Link Following
Publication date:
13/12/2016
Last modified:
12/04/2025
Description
mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files.
Impact
Base Score 3.x
7.00
Severity 3.x
HIGH
Base Score 2.0
6.90
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* | 5.5.0 (including) | 5.5.51 (including) |
| cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* | 5.6.0 (including) | 5.6.32 (including) |
| cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* | 5.7.0 (including) | 5.7.14 (including) |
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | 5.5.0 (including) | 5.5.54 (excluding) |
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | 10.0.0 (including) | 10.0.29 (excluding) |
| cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* | 10.1.0 (including) | 10.1.21 (excluding) |
| cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* | 5.5 (including) | 5.5.51-38.2 (excluding) |
| cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* | 5.6 (including) | 5.6.32-78.1 (excluding) |
| cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* | 5.7 (including) | 5.7.14-8 (excluding) |
| cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:* | 5.5 (including) | 5.5.41-37.0 (excluding) |
| cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:* | 5.6 (including) | 5.6.32-25.17 (excluding) |
| cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:* | 5.7 (including) | 5.7.14-26.17 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html
- http://rhn.redhat.com/errata/RHSA-2016-2130.html
- http://rhn.redhat.com/errata/RHSA-2016-2749.html
- http://seclists.org/fulldisclosure/2016/Nov/4
- http://www.debian.org/security/2017/dsa-3770
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://www.securityfocus.com/archive/1/539695/100/0/threaded
- http://www.securityfocus.com/bid/93612
- https://access.redhat.com/errata/RHSA-2017:2192
- https://access.redhat.com/errata/RHSA-2018:0279
- https://access.redhat.com/errata/RHSA-2018:0574
- https://security.gentoo.org/glsa/201702-18
- https://www.exploit-db.com/exploits/40679/
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html
- http://rhn.redhat.com/errata/RHSA-2016-2130.html
- http://rhn.redhat.com/errata/RHSA-2016-2749.html
- http://seclists.org/fulldisclosure/2016/Nov/4
- http://www.debian.org/security/2017/dsa-3770
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://www.securityfocus.com/archive/1/539695/100/0/threaded
- http://www.securityfocus.com/bid/93612
- https://access.redhat.com/errata/RHSA-2017:2192
- https://access.redhat.com/errata/RHSA-2018:0279
- https://access.redhat.com/errata/RHSA-2018:0574
- https://security.gentoo.org/glsa/201702-18
- https://www.exploit-db.com/exploits/40679/
- https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/



