Vulnerability Details : CVE-2016-6662
Potential exploit
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.
Vulnerability category: Execute code
Products affected by CVE-2016-6662
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- 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_workstation:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.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.6:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
- 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:9:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openstack:8:*:*:*:*:*:*:*
- 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:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
- cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
Threat overview for CVE-2016-6662
Top countries where our scanners detected CVE-2016-6662
Top open port discovered on systems with this issue
53
IPs affected by CVE-2016-6662 637,240
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2016-6662!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2016-6662
89.58%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 100 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-6662
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2016-6662
-
Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-6662
-
https://jira.mariadb.org/browse/MDEV-10465
[MDEV-10465] general_log_file can be abused - JiraIssue Tracking;Vendor Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2062.html
RHSA-2016:2062 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2017-0184.html
RHSA-2017:0184 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://seclists.org/fulldisclosure/2016/Sep/23
Full Disclosure: CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )Mailing List;Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2060.html
RHSA-2016:2060 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2130.html
RHSA-2016:2130 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2061.html
RHSA-2016:2061 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2059.html
RHSA-2016:2059 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://security.gentoo.org/glsa/201701-01
MariaDB and MySQL: Multiple vulnerabilities (GLSA 201701-01) — Gentoo securityThird Party Advisory
-
http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html
MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2077.html
RHSA-2016:2077 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.securityfocus.com/bid/92912
Oracle MySQL CVE-2016-6662 Remote Code Execution VulnerabilityThird Party Advisory;VDB Entry
-
http://rhn.redhat.com/errata/RHSA-2016-2058.html
RHSA-2016:2058 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2131.html
RHSA-2016:2131 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
Oracle Critical Patch Update - October 2016Patch;Vendor Advisory
-
https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/
MariaDB 10.0.27 Release Notes - MariaDB Knowledge BaseRelease Notes;Vendor Advisory
-
http://www.debian.org/security/2016/dsa-3666
Debian -- Security Information -- DSA-3666-1 mysql-5.5Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2927.html
RHSA-2016:2927 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/
MariaDB 10.1.17 Release Notes - MariaDB Knowledge BaseRelease Notes;Vendor Advisory
-
https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/
Percona Server Critical Update CVE-2016-6662 - Percona Database Performance BlogThird Party Advisory
-
https://www.exploit-db.com/exploits/40360/
MySQL / MariaDB / PerconaDB 5.5.51/5.6.32/5.7.14 - Code Execution / Privilege EscalationExploit;Third Party Advisory;VDB Entry
-
http://rhn.redhat.com/errata/RHSA-2016-2928.html
RHSA-2016:2928 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.securitytracker.com/id/1036769
MySQL General Query Logging Function Lets Remote Authenticated Users Modify the 'my.cnf' File to Gain Elevated Privileges - SecurityTrackerThird Party Advisory;VDB Entry
-
http://rhn.redhat.com/errata/RHSA-2016-2595.html
RHSA-2016:2595 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.openwall.com/lists/oss-security/2016/09/12/3
oss-security - CVE-2016-6662 - MySQL Remote Root Code Execution / Privilege Escalation ( 0day )Mailing List;Third Party Advisory
-
https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/
MariaDB 5.5.51 Release Notes - MariaDB Knowledge BaseRelease Notes;Vendor Advisory
-
http://rhn.redhat.com/errata/RHSA-2016-2749.html
RHSA-2016:2749 - Security Advisory - Red Hat Customer PortalThird Party Advisory
Jump to