Vulnerability CVE-2016-6663: Information

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.

Severity: HIGH (7.0) Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Published: Dec. 14, 2016
Modified: March 5, 2019
Error type identifier: CWE-362

Fixed packages

References to Advisories, Solutions, and Tools

Hyperlink
Resource
20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616]
  • Mailing List
  • Third Party Advisory
92911
  • Third Party Advisory
  • VDB Entry
https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-1.html
  • Issue Tracking
  • Vendor Advisory
[oss-security] 20161025 Re: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )
  • Mailing List
  • Third Party Advisory
https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805
  • Issue Tracking
  • Patch
  • Third Party Advisory
https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html
  • Exploit
  • Third Party Advisory
https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/
  • Release Notes
  • Vendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html
  • Issue Tracking
  • Vendor Advisory
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/
  • Vendor Advisory
40678
  • Exploit
  • Third Party Advisory
  • VDB Entry
https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-15.html
  • Issue Tracking
  • Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/
  • Release Notes
  • Vendor Advisory
https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html
  • Issue Tracking
  • Vendor Advisory
https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291
  • Issue Tracking
  • Patch
  • Third Party Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/
  • Release Notes
  • Vendor Advisory
93614
  • Third Party Advisory
  • VDB Entry
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
  • Patch
  • Vendor Advisory
RHSA-2017:0184
  • Third Party Advisory
RHSA-2016:2928
  • Third Party Advisory
RHSA-2016:2927
  • Third Party Advisory
RHSA-2016:2749
  • Third Party Advisory
RHSA-2016:2595
  • Third Party Advisory
RHSA-2016:2131
  • Third Party Advisory
RHSA-2016:2130
  • Third Party Advisory
    1. Configuration 1

      cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
      Start including
      5.5.0
      End including
      5.5.52

      cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
      Start including
      5.6.0
      End including
      5.6.33

      cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
      Start including
      5.7.0
      End including
      5.7.15

      Configuration 2

      cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
      Start including
      5.5
      End excliding
      5.5.51-38.2

      cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
      Start including
      5.6
      End excliding
      5.6.32-78.1

      cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
      Start including
      5.7
      End excliding
      5.7.14-8

      cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
      Start including
      5.5
      End excliding
      5.5.41-37.0

      cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
      Start including
      5.6
      End excliding
      5.6.32-25.17

      cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
      Start including
      5.7
      End excliding
      5.7.14-26.17

      Configuration 3

      cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
      Start including
      10.0.0
      End excliding
      10.0.28

      cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
      Start including
      5.5.20
      End excliding
      5.5.52

      cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
      Start including
      10.1.0
      End excliding
      10.1.18

      Configuration 4

      cpe:2.3:a:oracle:mysql:8.0:*:*:*:*:*:*:*