Vulnerability Details : CVE-2016-6663
Race condition in Oracle MySQL before 5.5.52, 5.6.x before 5.6.33, 5.7.x before 5.7.15, and 8.x before 8.0.1; MariaDB before 5.5.52, 10.0.x before 10.0.28, and 10.1.x before 10.1.18; 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 allows local users with certain permissions to gain privileges by leveraging use of my_copystat by REPAIR TABLE to repair a MyISAM table.
Threat overview for CVE-2016-6663
Top countries where our scanners detected CVE-2016-6663
Top open port discovered on systems with this issue
3306
IPs affected by CVE-2016-6663 682
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2016-6663!
*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-6663
Probability of exploitation activity in the next 30 days: 0.07%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 27 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2016-6663
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
4.4
|
MEDIUM | AV:L/AC:M/Au:N/C:P/I:P/A:P |
3.4
|
6.4
|
NIST |
7.0
|
HIGH | CVSS:3.0/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-6663
-
The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-6663
-
https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
don't use my_copystat in the server · MariaDB/server@347eeef · GitHubIssue Tracking;Patch;Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2017-0184.html
RHSA-2017:0184 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/
MariaDB 10.0.28 Release Notes - MariaDB Knowledge BaseRelease Notes;Vendor Advisory
-
http://www.securityfocus.com/bid/93614
RETIRED: Oracle MySQL CVE-2016-5616 Local Security VulnerabilityThird Party Advisory;VDB Entry
-
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
-
https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
Bug#24388746: PRIVILEGE ESCALATION AND RACE CONDITION USING CREATE TABLE · mysql/mysql-server@4e54738 · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://www.exploit-db.com/exploits/40678/
MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'mysql' System User Privilege Escalation / Race ConditionExploit;Third Party Advisory;VDB Entry
-
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html
MySQL :: MySQL 5.5 Release Notes :: Changes in MySQL 5.5.52 (2016-09-06, General Availability)Issue Tracking;Vendor Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2130.html
RHSA-2016:2130 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.openwall.com/lists/oss-security/2016/10/25/4
oss-security - Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )Mailing List;Third 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
-
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html
MySQL :: MySQL 5.6 Release Notes :: Changes in MySQL 5.6.33 (2016-09-06, General Availability)Issue Tracking;Vendor Advisory
-
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
MySQL :: MySQL 5.7 Release Notes :: Changes in MySQL 5.7.15 (2016-09-06, General Availability)Issue Tracking;Vendor Advisory
-
http://www.securityfocus.com/bid/92911
Oracle MySQL CVE-2016-6663 Unspecified Security VulnerabilityThird Party Advisory;VDB Entry
-
http://rhn.redhat.com/errata/RHSA-2016-2131.html
RHSA-2016:2131 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/
MariaDB 10.1.18 Release Notes - MariaDB Knowledge BaseRelease Notes;Vendor Advisory
-
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
Oracle Critical Patch Update - October 2016Patch;Vendor Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2927.html
RHSA-2016:2927 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.1 (2017-04-10, Development Milestone)Issue Tracking;Vendor Advisory
-
https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/
MariaDB 5.5.52 Release Notes - MariaDB Knowledge BaseRelease Notes;Vendor Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2928.html
RHSA-2016:2928 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-ExploitExploit;Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2595.html
RHSA-2016:2595 - 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-6663
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:8.0:*:*:*:*:*:*:*
- 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:*:*:*:*:*:*:*:*