Vulnerability in Mariadb
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.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
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.
EPSS exploit prediction
EPSS 0.043, 91.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Mariadb
- Oracle MySQL — versions 8.0
- Percona Server
- Percona Xtradb Cluster
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- firebroo/CVE-2016-6663 (5 stars, last pushed 2016-11-02)
Also mentioned in 8 other repositories (7hang/cyber-security-interview, ARPSyndicate/cvemon, brmzkw/links, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- RHSA-2016:2749 (vendor-advisory, Third Party Advisory)
- dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-52.html (Issue Tracking, Vendor Advisory)
- RHSA-2017:0184 (vendor-advisory, Third Party Advisory)
- 20161101 MySQL / MariaDB / PerconaDB - Privilege Escalation / Race Condition Exploit [CVE-2016-6663 / OCVE-2016-5616] (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2016:2131 (vendor-advisory, Third Party Advisory)
- github.com/mysql/mysql-server/commit/4e5473862e6852b0f3802b0cd0c6fa10b5253291 (Patch, Third Party Advisory, Issue Tracking)
- mariadb.com/kb/en/mariadb/mariadb-5552-release-notes/ (Release Notes, Vendor Advisory)
- www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-… (Vendor Advisory)
- www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html (Patch, Vendor Advisory)
- www.exploit-db.com/exploits/40678/ (Exploit, exploit, Third Party Advisory, VDB Entry)
This CVE has public exploit evidence. See the latest CVEs with public exploits.