CVE-2016-6662

mysql: general_log can write to configuration files, leading to privilege escalation (CPU Oct 2016)

Published Sep 20, 2016 CVSS 3.0 · 9.8 Critical EPSS 67.7% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-624-1 mysql-5.5 security update
Debian DSA Debian DSA DSA-3666-1 mysql-5.5 security update
Ubuntu USN Ubuntu USN USN-3078-1 MySQL vulnerability
References
Link Providers
http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2058.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2059.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2060.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2061.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2062.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2077.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2130.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2131.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2595.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2749.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2927.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2016-2928.html cve-icon cve-icon
http://rhn.redhat.com/errata/RHSA-2017-0184.html cve-icon cve-icon
http://seclists.org/fulldisclosure/2016/Sep/23 cve-icon cve-icon
http://www.debian.org/security/2016/dsa-3666 cve-icon cve-icon
http://www.openwall.com/lists/oss-security/2016/09/12/3 cve-icon cve-icon
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html cve-icon cve-icon
http://www.securityfocus.com/bid/92912 cve-icon cve-icon
http://www.securitytracker.com/id/1036769 cve-icon cve-icon
https://jira.mariadb.org/browse/MDEV-10465 cve-icon cve-icon
https://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.txt cve-icon
https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/ cve-icon cve-icon
https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ cve-icon cve-icon
https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/ cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2016-6662 cve-icon
https://security.gentoo.org/glsa/201701-01 cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2016-6662 cve-icon
https://www.exploit-db.com/exploits/40360/ cve-icon cve-icon
https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/ cve-icon cve-icon
History

No history.