CVE-2016-6662
At a glance
- Source
- NVD
- EPSS
- EPSS 67.73 % · percentile 99 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
References
- https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/
- http://rhn.redhat.com/errata/RHSA-2016-2749.html
- http://rhn.redhat.com/errata/RHSA-2017-0184.html
- http://rhn.redhat.com/errata/RHSA-2016-2131.html
- http://rhn.redhat.com/errata/RHSA-2016-2060.html
- https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/
- https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/
- https://jira.mariadb.org/browse/MDEV-10465
- http://www.securityfocus.com/bid/92912
- http://seclists.org/fulldisclosure/2016/Sep/23
- https://security.gentoo.org/glsa/201701-01
- http://www.debian.org/security/2016/dsa-3666
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://rhn.redhat.com/errata/RHSA-2016-2130.html
- http://rhn.redhat.com/errata/RHSA-2016-2077.html
- http://rhn.redhat.com/errata/RHSA-2016-2927.html
- http://rhn.redhat.com/errata/RHSA-2016-2059.html
- http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html
- https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/
- http://rhn.redhat.com/errata/RHSA-2016-2062.html
- http://rhn.redhat.com/errata/RHSA-2016-2595.html
- http://www.securitytracker.com/id/1036769
- http://rhn.redhat.com/errata/RHSA-2016-2061.html
- http://www.openwall.com/lists/oss-security/2016/09/12/3
- https://www.exploit-db.com/exploits/40360/
- http://rhn.redhat.com/errata/RHSA-2016-2928.html
- http://rhn.redhat.com/errata/RHSA-2016-2058.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2016-7565
- GCVE · GCVE-0-2016-6662
CERT-FR advisories
- CERTFR-2020-AVI-420 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2017-AVI-012 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2016-AVI-351 — Multiples vulnérabilités dans Oracle MySQL · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*≥ 5.5.0 ≤ 5.5.52cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*≥ 5.6.0 ≤ 5.6.33cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*≥ 5.7.0 ≤ 5.7.15cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*≥ 5.5 < 5.5.51-38.1cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*≥ 5.6 < 5.6.32-78.0cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*≥ 5.7 < 5.7.14-7cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*≥ 5.5.20 < 5.5.51cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*≥ 10.0.0 < 10.0.27cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*≥ 10.1.0 < 10.1.17cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:5.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:7.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:8:*:*:*:*:*:*:*cpe:2.3:a:redhat:openstack:9:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |