← Back to CVEs
CVE-2016-6664
HIGH7.0
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.
CVE Details
CVSS v3.1 Score7.0
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityHIGH
Privileges RequiredLOW
User InteractionNONE
Published12/13/2016
Last Modified5/6/2026
Sourcenvd
Honeypot Sightings0
Affected Products
mariadb:mariadboracle:mysqlpercona:percona_serverpercona:xtradb_cluster
Weaknesses (CWE)
CWE-59
References
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html(cve@mitre.org)
http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html(cve@mitre.org)
http://rhn.redhat.com/errata/RHSA-2016-2130.html(cve@mitre.org)
http://rhn.redhat.com/errata/RHSA-2016-2749.html(cve@mitre.org)
http://seclists.org/fulldisclosure/2016/Nov/4(cve@mitre.org)
http://www.debian.org/security/2017/dsa-3770(cve@mitre.org)
http://www.securityfocus.com/archive/1/539695/100/0/threaded(cve@mitre.org)
http://www.securityfocus.com/bid/93612(cve@mitre.org)
https://access.redhat.com/errata/RHSA-2017:2192(cve@mitre.org)
https://access.redhat.com/errata/RHSA-2018:0279(cve@mitre.org)
https://access.redhat.com/errata/RHSA-2018:0574(cve@mitre.org)
https://security.gentoo.org/glsa/201702-18(cve@mitre.org)
https://www.exploit-db.com/exploits/40679/(cve@mitre.org)
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/(cve@mitre.org)
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html(af854a3a-2127-422b-91ae-364da2661108)
http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html(af854a3a-2127-422b-91ae-364da2661108)
http://rhn.redhat.com/errata/RHSA-2016-2130.html(af854a3a-2127-422b-91ae-364da2661108)
http://rhn.redhat.com/errata/RHSA-2016-2749.html(af854a3a-2127-422b-91ae-364da2661108)
http://seclists.org/fulldisclosure/2016/Nov/4(af854a3a-2127-422b-91ae-364da2661108)
http://www.debian.org/security/2017/dsa-3770(af854a3a-2127-422b-91ae-364da2661108)
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html(af854a3a-2127-422b-91ae-364da2661108)
http://www.securityfocus.com/archive/1/539695/100/0/threaded(af854a3a-2127-422b-91ae-364da2661108)
http://www.securityfocus.com/bid/93612(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2017:2192(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2018:0279(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2018:0574(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/201702-18(af854a3a-2127-422b-91ae-364da2661108)
https://www.exploit-db.com/exploits/40679/(af854a3a-2127-422b-91ae-364da2661108)
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.