Vulnerability Details : CVE-2016-6664
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.
Threat overview for CVE-2016-6664
Top countries where our scanners detected CVE-2016-6664
Top open port discovered on systems with this issue
3306
IPs affected by CVE-2016-6664 218,717
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2016-6664!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2016-6664
Probability of exploitation activity in the next 30 days: 11.76%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 95 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2016-6664
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
6.9
|
MEDIUM | AV:L/AC:M/Au:N/C:C/I:C/A:C |
3.4
|
10.0
|
NIST |
7.0
|
HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.0
|
5.9
|
NIST |
CWE ids for CVE-2016-6664
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-6664
-
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/
Percona responds to CVE-2016-6663 and CVE-2016-6664 - Percona Database Performance BlogVendor Advisory
-
http://www.debian.org/security/2017/dsa-3770
Debian -- Security Information -- DSA-3770-1 mariadb-10.0Third Party Advisory
-
http://www.securityfocus.com/bid/93612
Oracle MySQL CVE-2016-6664 Local Security VulnerabilityThird Party Advisory;VDB Entry
-
http://rhn.redhat.com/errata/RHSA-2016-2130.html
RHSA-2016:2130 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://seclists.org/fulldisclosure/2016/Nov/4
Full Disclosure: MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]Mailing List;Third Party Advisory
-
http://www.securityfocus.com/archive/1/539695/100/0/threaded
SecurityFocusThird Party Advisory;VDB Entry
-
https://access.redhat.com/errata/RHSA-2017:2192
RHSA-2017:2192 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
Oracle Critical Patch Update - October 2016Patch;Vendor Advisory
-
https://www.exploit-db.com/exploits/40679/
MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'root' System User Privilege EscalationExploit;Third Party Advisory;VDB Entry
-
http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html
MySQL / MariaDB / PerconaDB Root Privilege Escalation ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://security.gentoo.org/glsa/201702-18
MariaDB: Multiple vulnerabilities (GLSA 201702-18) — Gentoo securityThird Party Advisory
-
https://access.redhat.com/errata/RHSA-2018:0279
RHSA-2018:0279 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html
MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-ExploitExploit;Third Party Advisory
-
https://access.redhat.com/errata/RHSA-2018:0574
RHSA-2018:0574 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2749.html
RHSA-2016:2749 - Security Advisory - Red Hat Customer PortalThird Party Advisory
Products affected by CVE-2016-6664
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*