CVE-2016-6662

Scores

EPSS

0.896high89.6%
0%20%40%60%80%100%

Percentile: 89.6%

CVSS

9.8critical3.x
0246810

CVSS Score: 9.8/10

All CVSS Scores

CVSS 3.x
9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
7.1

Vector: AV:N/AC:H/Au:S/C:C/I:C/A:C

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvdredhatubuntu

CWEs

CWE-264CWE-732

Exploits

Exploit ID: 40360

Source: exploitdb

URL: https://www.exploit-db.com/exploits/40360

Exploit ID: CVE-2016-6662

Source: github-poc

URL: https://github.com/MAYASEVEN/CVE-2016-6662

Recommendations

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.

URL: http://rhn.redhat.com/errata/RHSA-2016-2077.html

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.

URL: http://rhn.redhat.com/errata/RHSA-2016-2062.html

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.

URL: http://rhn.redhat.com/errata/RHSA-2016-2061.html

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.

URL: http://rhn.redhat.com/errata/RHSA-2016-2060.html

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.

URL: http://rhn.redhat.com/errata/RHSA-2016-2059.html

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing this update, the MariaDB server daemon (mysqld) will be restarted automatically.

URL: http://rhn.redhat.com/errata/RHSA-2016-2058.html

Vulnerable Software (94)

Type: Configuration

Product: libmariadbembedded

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: libmariadbembedded-devel

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: libmysqlclient-devel

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: libmysqlclient18

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: mariadb

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: mariadb

Operating System: rhel 7

Trait:
{  "fixed": "5.5.52-1.el7"}

Source: redhat

Type: Configuration

Product: mariadb-10.0

Operating System: ubuntu xenial 16.04

Trait:
{  "fixed": "10.0.27-0ubuntu0.16.04.1"}

Source: ubuntu

Type: Configuration

Product: mariadb-10.0

Operating System: ubuntu yakkety 16.10

Trait:
{  "fixed": "10.0.28-0ubuntu0.16.10.1"}

Source: ubuntu

Type: Configuration

Product: mariadb-10.0

Operating System: debian

Trait:
{  "fixed": "10.0.27-1"}

Source: debian

Type: Configuration

Product: mariadb-10.0

Operating System: debian jessie 8

Trait:
{  "fixed": "10.0.27-0+deb8u1"}

Source: debian

Type: Configuration

Product: mariadb-5.5

Operating System: ubuntu trusty 14.04

Trait:
{  "fixed": "5.5.52-1ubuntu0.14.04.1"}

Source: ubuntu

Type: Configuration

Product: mariadb-bench

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: mariadb-client

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: mariadb-common

Operating System: altlinux

Trait:
{  "fixed": "0:10.1.17-alt1"}

Source: redhat

Type: Configuration

Product: mariadb-galera

Operating System: rhel

Trait:
{  "fixed": "5.5.42-1.1.el6ost"}

Source: redhat

Type: Configuration

Product: mariadb-galera

Operating System: rhel

Trait:
{  "fixed": "5.5.42-1.2.el7ost"}

Source: redhat

Type: Configuration

Product: mariadb-galera

Operating System: rhel

Trait:
{  "fixed": "5.5.42-1.2.el7ost"}

Source: redhat

Type: Configuration

Product: mariadb-galera

Operating System: rhel

Trait:
{  "fixed": "5.5.42-5.el7ost"}

Source: redhat

Type: Configuration

Product: mariadb-galera

Operating System: rhel

Trait:
{  "fixed": "5.5.42-5.el7ost"}

Source: redhat

Type: Configuration

Product: mariadb-galera

Operating System: rhel

Trait:
{  "fixed": "5.5.42-5.el7ost"}

Source: redhat