CVE-2016-6663

MEDIUM

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.

References

http://rhn.redhat.com/errata/RHSA-2016-2130.html

http://rhn.redhat.com/errata/RHSA-2016-2131.html

http://rhn.redhat.com/errata/RHSA-2016-2595.html

http://rhn.redhat.com/errata/RHSA-2016-2749.html

http://rhn.redhat.com/errata/RHSA-2016-2927.html

http://rhn.redhat.com/errata/RHSA-2016-2928.html

http://rhn.redhat.com/errata/RHSA-2017-0184.html

http://seclists.org/fulldisclosure/2016/Nov/4

http://www.openwall.com/lists/oss-security/2016/10/25/4

http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html

http://www.securityfocus.com/bid/92911

http://www.securityfocus.com/bid/93614

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

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

https://github.com/MariaDB/server/commit/347eeefbfc658c8531878218487d729f4e020805

https://github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291

https://legalhackers.com/advisories/MySQL-Maria-Percona-PrivEscRace-CVE-2016-6663-5616-Exploit.html

https://mariadb.com/kb/en/mariadb/mariadb-10028-release-notes/

https://mariadb.com/kb/en/mariadb/mariadb-10118-release-notes/

https://mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/

https://www.exploit-db.com/exploits/40678/

https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/

Details

Source: MITRE

Published: 2016-12-13

Updated: 2019-03-05

Type: CWE-362

Risk Information

CVSS v2.0

Base Score: 4.4

Vector: AV:L/AC:M/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 3.4

Severity: MEDIUM

CVSS v3.0

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1

Severity: HIGH

Tenable Plugins

View all (31 total)

IDNameProductFamilySeverity
125006EulerOS Virtualization 3.0.1.0 : mariadb (EulerOS-SA-2019-1553)NessusHuawei Local Security Checks
critical
112023F5 Networks BIG-IP : MySQL vulnerability (K73828041)NessusF5 Networks Local Security Checks
medium
101415Virtuozzo 6 : mysql / mysql-bench / mysql-devel / mysql-embedded / etc (VZLSA-2017-0184)NessusVirtuozzo Local Security Checks
critical
99824EulerOS 2.0 SP1 : mariadb (EulerOS-SA-2016-1062)NessusHuawei Local Security Checks
critical
97329Amazon Linux AMI : mysql51 (ALAS-2017-800)NessusAmazon Linux Local Security Checks
critical
96812CentOS 6 : mysql (CESA-2017:0184)NessusCentOS Local Security Checks
critical
96790OracleVM 3.3 / 3.4 : mysql (OVMSA-2017-0035)NessusOracleVM Local Security Checks
critical
96758Scientific Linux Security Update : mysql on SL6.x i386/x86_64 (20170124)NessusScientific Linux Local Security Checks
critical
96756RHEL 6 : mysql (RHSA-2017:0184)NessusRed Hat Local Security Checks
critical
96753Oracle Linux 6 : mysql (ELSA-2017-0184)NessusOracle Linux Local Security Checks
critical
96510FreeBSD : MySQL -- multiple vulnerabilities (22373c43-d728-11e6-a9a5-b499baebfeaf)NessusFreeBSD Local Security Checks
medium
95847Scientific Linux Security Update : mariadb on SL7.x x86_64 (20161103)NessusScientific Linux Local Security Checks
critical
95633MariaDB 5.5.x < 5.5.52 Multiple VulnerabilitiesNessusDatabases
medium
95632MariaDB 10.1.x < 10.1.18 Multiple VulnerabilitiesNessusDatabases
medium
95597openSUSE Security Update : mariadb (openSUSE-2016-1417)NessusSuSE Local Security Checks
medium
95596openSUSE Security Update : mariadb (openSUSE-2016-1416)NessusSuSE Local Security Checks
medium
95540MariaDB 10.0.x < 10.0.28 Multiple VulnerabilitiesNessusDatabases
medium
95384SUSE SLED12 / SLES12 Security Update : Recommended update for mariadb (SUSE-SU-2016:2933-1)NessusSuSE Local Security Checks
medium
95383SUSE SLES12 Security Update : mariadb (SUSE-SU-2016:2932-1)NessusSuSE Local Security Checks
medium
95341CentOS 7 : mariadb (CESA-2016:2595)NessusCentOS Local Security Checks
critical
94743Debian DSA-3711-1 : mariadb-10.0 - security updateNessusDebian Local Security Checks
medium
94715Oracle Linux 7 : mariadb (ELSA-2016-2595)NessusOracle Linux Local Security Checks
critical
9752MariaDB Server 10.0.x < 10.0.28 Multiple VulnerabilitiesNessus Network MonitorDatabase
high
94558RHEL 7 : mariadb (RHSA-2016:2595)NessusRed Hat Local Security Checks
critical
94440Slackware 14.1 / 14.2 / current : mariadb (SSA:2016-305-03)NessusSlackware Local Security Checks
medium
93380MySQL 5.7.x < 5.7.15 Multiple VulnerabilitiesNessusDatabases
critical
93379MySQL 5.7.x < 5.7.15 Multiple VulnerabilitiesNessusDatabases
critical
93378MySQL 5.6.x < 5.6.33 Multiple VulnerabilitiesNessusDatabases
critical
93377MySQL 5.6.x < 5.6.33 Multiple VulnerabilitiesNessusDatabases
critical
93376MySQL 5.5.x < 5.5.52 Multiple VulnerabilitiesNessusDatabases
critical
93375MySQL 5.5.x < 5.5.52 Multiple VulnerabilitiesNessusDatabases
critical