CVE-2016-6663
HIGHOracle MySQL <5.5.52, 5.6.x <5.6.33, 5.7.x <5.7.15, and 8.x <8.0.1 - Privilege Escalation
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2016-6663. PoCs published by Dawid Golunski, firebroo.
AI-analyzed exploit summary This exploit leverages a race condition in MySQL/MariaDB/PerconaDB (CVE-2016-6663) to escalate privileges by manipulating table files during a REPAIR TABLE operation, resulting in a SUID shell.
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.
Exploits (2)
This exploit leverages a race condition in MySQL/MariaDB/PerconaDB (CVE-2016-6663) to escalate privileges by manipulating table files during a REPAIR TABLE operation, resulting in a SUID shell.
This repository contains a functional exploit for CVE-2016-6663, a race condition vulnerability in MySQL/MariaDB/PerconaDB that allows local privilege escalation from the mysql user to root. The exploit leverages a race condition during table repair operations to set SUID bits on a shell binary.
References (24)
Scores
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H