Skip to main content
← All vulnerabilities
CVE-2016-6662

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before

Published
Last modified
published
Not listed in CISA KEV
1 on Exploit-DB, 6 proofs of concept on GitHub

Summary

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.27, and 10.1.x before 10.1.17; and Percona Server before 5.5.51-38.1, 5.6.x before 5.6.32-78.0, and 5.7.x before 5.7.14-7 allow local users to create arbitrary configurations and bypass certain protection mechanisms by setting general_log_file to a my.cnf configuration. NOTE: this can be leveraged to execute arbitrary code with root privileges by setting malloc_lib. NOTE: the affected MySQL version information is from Oracle's October 2016 CPU. Oracle has not commented on third-party claims that the issue was silently patched in MySQL 5.5.52, 5.6.33, and 5.7.15.

Timeline

  1. Public exploit on Exploit-DB

    EDB-40360

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 32

mariadb.com

rhn.redhat.com

jira.mariadb.org

securityfocus.com

seclists.org

security.gentoo.org

debian.org

oracle.com

legalhackers.com

percona.com

securitytracker.com

openwall.com

Exploit-DB

GitHub · Ashrafdev/MySQL-Remote-Root-Code-Execution

GitHub · KosukeShimofuji/CVE-2016-6662

GitHub · MAYASEVEN/CVE-2016-6662

GitHub · boompig/cve-2016-6662

GitHub · konstantin-kelemen/mysqld_safe-CVE-2016-6662-patch

GitHub · meersjo/ansible-mysql-cve-2016-6662