Vulnerability in Mariadb
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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.677 (99.3th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.677 · newest: 0.677 · change: 0.000
Affected products
- Mariadb
- Oracle MySQL
- Percona Server
- Debian Linux — versions 8.0
- Red Hat Enterprise Linux — versions 7.0
- Red Hat Enterprise Linux Desktop — versions 6.0, 7.0
- Red Hat Enterprise Linux Server — versions 6.0
- Red Hat Enterprise Linux Server Aus — versions 7.3, 7.4, 7.6
- Red Hat Enterprise Linux Server Eus — versions 7.3, 7.4, 7.5
- Red Hat Enterprise Linux Server Tus — versions 7.3, 7.6
Weakness classification (CWE)
Public proof-of-concept exploits
- MAYASEVEN/CVE-2016-6662
- Ashrafdev/MySQL-Remote-Root-Code-Execution
- boompig/cve-2016-6662
- meersjo/ansible-mysql-cve-2016-6662
- KosukeShimofuji/CVE-2016-6662
- konstantin-kelemen/mysqld_safe-CVE-2016-6662-patch
- PuddinCat/GithubRepoSpider
- SanjuCyb3r/Metasploitable-2
- kanyaars/CVE-2016-6662
- konstantin-kelemen/mysqld_
References
- mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/ (Release Notes, Vendor Advisory)
- rhn.redhat.com/errata/RHSA-2016-2749.html (vendor-advisory, Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2017-0184.html (vendor-advisory, Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2016-2131.html (vendor-advisory, Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2016-2060.html (vendor-advisory, Third Party Advisory)
- mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ (Release Notes, Vendor Advisory)
- mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/ (Release Notes, Vendor Advisory)
- jira.mariadb.org/browse/MDEV-10465 (Issue Tracking, Vendor Advisory)
- www.securityfocus.com/bid/92912 (VDB Entry, Third Party Advisory, vdb-entry)
- seclists.org/fulldisclosure/2016/Sep/23 (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2016-6662?
- CVE-2016-6662 is a critical-severity vulnerability in Mariadb, classified under CWE-264. CVSS score: 9.8/10. Published 2016-09-20.
- How severe is CVE-2016-6662?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2016-6662 known to be exploited?
- 24 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.