National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-6663 Detail

Current Description

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.

Source:  MITRE      Last Modified:  12/22/2016      View Analysis Description

Quick Info

CVE Dictionary Entry:
CVE-2016-6663
Original release date:
12/13/2016
Last revised:
01/04/2018
Source:
US-CERT/NIST

Impact

CVSS Severity (version 3.0):
CVSS v3 Base Score:
7.0 High
Vector:
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (legend)
Impact Score:
5.9
Exploitability Score:
1.0
CVSS Version 3 Metrics:
Attack Vector (AV):
Local
Attack Complexity (AC):
High
Privileges Required (PR):
Low
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High
CVSS Severity (version 2.0):
CVSS v2 Base Score:
4.4 MEDIUM
Vector:
(AV:L/AC:M/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
3.4
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://rhn.redhat.com/errata/RHSA-2016-2130.html External Source REDHAT RHSA-2016:2130
http://rhn.redhat.com/errata/RHSA-2016-2131.html External Source REDHAT RHSA-2016:2131
http://rhn.redhat.com/errata/RHSA-2016-2595.html External Source REDHAT RHSA-2016:2595
http://rhn.redhat.com/errata/RHSA-2016-2749.html External Source REDHAT RHSA-2016:2749
http://rhn.redhat.com/errata/RHSA-2016-2927.html External Source REDHAT RHSA-2016:2927
http://rhn.redhat.com/errata/RHSA-2016-2928.html External Source REDHAT RHSA-2016:2928
http://rhn.redhat.com/errata/RHSA-2017-0184.html External Source REDHAT RHSA-2017:0184
http://seclists.org/fulldisclosure/2016/Nov/4 Mailing List; Third Party Advisory External Source FULLDISC 20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]
http://www.openwall.com/lists/oss-security/2016/10/25/4 Mailing List; Third Party Advisory External Source MLIST [oss-security] 20161025 Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html Patch; Vendor Advisory External Source CONFIRM http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
http://www.securityfocus.com/bid/92911 Third Party Advisory; VDB Entry External Source BID 92911
http://www.securityfocus.com/bid/93614 Third Party Advisory; VDB Entry External Source BID 93614
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html Issue Tracking External Source CONFIRM https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html Issue Tracking External Source CONFIRM https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html Issue Tracking External Source CONFIRM https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html Issue Tracking External Source CONFIRM https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805 Issue Tracking; Patch; Third Party Advisory External Source CONFIRM https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291 Issue Tracking; Patch; Third Party Advisory External Source CONFIRM https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html Exploit; Third Party Advisory External Source MISC https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/ Release Notes; Vendor Advisory External Source CONFIRM https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/
https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/ Release Notes; Vendor Advisory External Source CONFIRM https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/
https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/ Release Notes; Vendor Advisory External Source CONFIRM https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/
https://www.exploit-db.com/exploits/40678/ Exploit; VDB Entry External Source EXPLOIT-DB 40678
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ Vendor Advisory External Source CONFIRM https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*    versions up to (including) 5.5.52
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*    versions up to (including) 5.6.33
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*    versions up to (including) 5.7.15
Configuration 2
OR
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*    versions up to (including) 5.5.50-38.0
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*    versions up to (including) 5.6.31-77.0
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*    versions up to (including) 5.7.13-6
Configuration 3
OR
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*    versions up to (including) 5.5.50
cpe:2.3:a:mariadb:mariadb:10.0.0:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.1:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.2:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.3:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.4:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.5:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.6:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.7:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.8:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.9:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.10:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.11:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.12:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.13:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.14:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.15:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.16:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.17:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.18:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.19:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.20:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.21:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.22:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.23:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.24:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.25:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.0.26:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.0:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.1:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.2:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.3:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.4:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.5:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.6:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.7:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.8:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.9:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.10:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.11:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.12:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.13:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.14:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.15:*:*:*:*:*:*:*
cpe:2.3:a:mariadb:mariadb:10.1.16:*:*:*:*:*:*:*
Configuration 4
OR
cpe:2.3:a:oracle:mysql:8.0:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 7 change records found - show changes