CVE-2016-6664
Last modified
CVE-2016-6664 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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.. EPSS estimates a 3.08% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Oracle | Mysql | >= 5.5.0, <= 5.5.51 |
| Oracle | Mysql | >= 5.6.0, <= 5.6.32 |
| Oracle | Mysql | >= 5.7.0, <= 5.7.14 |
| Mariadb | Mariadb | >= 5.5.0, < 5.5.54 |
| Mariadb | Mariadb | >= 10.0.0, < 10.0.29 |
| Mariadb | Mariadb | >= 10.1.0, < 10.1.21 |
| Percona | Percona Server | >= 5.5, < 5.5.51-38.2 |
| Percona | Percona Server | >= 5.6, < 5.6.32-78.1 |
| Percona | Percona Server | >= 5.7, < 5.7.14-8 |
| Percona | Xtradb Cluster | >= 5.5, < 5.5.41-37.0 |
| Percona | Xtradb Cluster | >= 5.6, < 5.6.32-25.17 |
| Percona | Xtradb Cluster | >= 5.7, < 5.7.14-26.17 |
References
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.htmlExploit, Third Party Advisory
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://rhn.redhat.com/errata/RHSA-2016-2130.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2749.htmlThird Party Advisory
- http://seclists.org/fulldisclosure/2016/Nov/4Mailing List, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3770Third Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/archive/1/539695/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/93612Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2192Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0279Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0574Third Party Advisory
- https://security.gentoo.org/glsa/201702-18Third Party Advisory
- https://www.exploit-db.com/exploits/40679/Exploit, Third Party Advisory, VDB Entry
- http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.htmlExploit, Third Party Advisory
- http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.htmlExploit, Third Party Advisory, VDB Entry
- http://rhn.redhat.com/errata/RHSA-2016-2130.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2749.htmlThird Party Advisory
- http://seclists.org/fulldisclosure/2016/Nov/4Mailing List, Third Party Advisory
- http://www.debian.org/security/2017/dsa-3770Third Party Advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.htmlPatch, Vendor Advisory
- http://www.securityfocus.com/archive/1/539695/100/0/threadedThird Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/93612Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:2192Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0279Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:0574Third Party Advisory
- https://security.gentoo.org/glsa/201702-18Third Party Advisory
- https://www.exploit-db.com/exploits/40679/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-6664?
How severe is CVE-2016-6664?
How do I fix CVE-2016-6664?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2016
- CVE-2016-6657An open redirect vulnerability has been detected with some P…
- CVE-2016-6658Applications in cf-release before 245 can be configured and …
- CVE-2016-6659Cloud Foundry before 248; UAA 2.x before 2.7.4.12, 3.x befor…
- CVE-2016-6660Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2016-6662Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x…
- CVE-2016-6663Race condition in Oracle MySQL before 5.5.52, 5.6.x before 5…
- CVE-2016-6667NetApp OnCommand Unified Manager for Clustered Data ONTAP 6.…
- CVE-2016-6668The Atlassian Hipchat Integration Plugin for Bitbucket Serve…7.5
- CVE-2016-6669Buffer overflow in the Authentication, Authorization and Acc…
- CVE-2016-6670Huawei S7700, S9300, S9700, and S12700 devices with software…
- CVE-2016-6671The raw_decode function in libavcodec/rawdec.c in FFmpeg bef…
- CVE-2016-6672The Synaptics touchscreen driver in Android before 2016-10-0…
Are you affected by CVE-2016-6664?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
