CVE-2016-6664

HIGH
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

mysqld_safe in Oracle MySQL through 5.5.51, 5.6.x through 5.6.32, and 5.7.x through 5.7.14; MariaDB; Percona Server before 5.5.51-38.2, 5.6.x before 5.6.32-78-1, and 5.7.x before 5.7.14-8; and Percona XtraDB Cluster before 5.5.41-37.0, 5.6.x before 5.6.32-25.17, and 5.7.x before 5.7.14-26.17, when using file-based logging, allows local users with access to the mysql account to gain root privileges via a symlink attack on error logs and possibly other files.

References

http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html

http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html

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

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

http://seclists.org/fulldisclosure/2016/Nov/4

http://www.debian.org/security/2017/dsa-3770

http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html

http://www.securityfocus.com/archive/1/539695/100/0/threaded

http://www.securityfocus.com/bid/93612

https://access.redhat.com/errata/RHSA-2017:2192

https://access.redhat.com/errata/RHSA-2018:0279

https://access.redhat.com/errata/RHSA-2018:0574

https://security.gentoo.org/glsa/201702-18

https://www.exploit-db.com/exploits/40679/

https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/

Details

Source: MITRE

Published: 2016-12-13

Updated: 2020-11-09

Type: CWE-59

Risk Information

CVSS v2

Base Score: 6.9

Vector: AV:L/AC:M/Au:N/C:C/I:C/A:C

Impact Score: 10

Exploitability Score: 3.4

Severity: MEDIUM

CVSS v3

Base Score: 7

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

Impact Score: 5.9

Exploitability Score: 1

Severity: HIGH

Tenable Plugins

View all (20 total)

IDNameProductFamilySeverity
103008EulerOS 2.0 SP2 : mariadb (EulerOS-SA-2017-1170)NessusHuawei Local Security Checks
high
103007EulerOS 2.0 SP1 : mariadb (EulerOS-SA-2017-1169)NessusHuawei Local Security Checks
high
102755CentOS 7 : mariadb (CESA-2017:2192)NessusCentOS Local Security Checks
high
102648Scientific Linux Security Update : mariadb on SL7.x x86_64 (20170801)NessusScientific Linux Local Security Checks
high
102299Oracle Linux 7 : mariadb (ELSA-2017-2192)NessusOracle Linux Local Security Checks
high
102152RHEL 7 : mariadb (RHSA-2017:2192)NessusRed Hat Local Security Checks
high
97277openSUSE Security Update : mariadb (openSUSE-2017-257)NessusSuSE Local Security Checks
high
97261GLSA-201702-18 : MariaDB: Multiple vulnerabilitiesNessusGentoo Local Security Checks
high
97064SUSE SLED12 / SLES12 Security Update : mariadb (SUSE-SU-2017:0412-1)NessusSuSE Local Security Checks
high
97063SUSE SLES12 Security Update : mariadb (SUSE-SU-2017:0411-1)NessusSuSE Local Security Checks
high
97046SUSE SLES11 Security Update : mysql (SUSE-SU-2017:0408-1)NessusSuSE Local Security Checks
high
9915MariaDB Server 10.1.x < 10.1.21 Multiple VulnerabilitiesNessus Network MonitorDatabase
medium
9912MariaDB Server 10.0.x < 10.0.29 Multiple VulnerabilitiesNessus Network MonitorDatabase
medium
9911MariaDB Server 5.5.x < 5.5.54 Multiple VulnerabilitiesNessus Network MonitorDatabase
high
96669Debian DSA-3770-1 : mariadb-10.0 - security updateNessusDebian Local Security Checks
high
96612Slackware 14.1 / 14.2 / current : mariadb (SSA:2017-018-01)NessusSlackware Local Security Checks
high
96510FreeBSD : MySQL -- multiple vulnerabilities (22373c43-d728-11e6-a9a5-b499baebfeaf)NessusFreeBSD Local Security Checks
high
96489MariaDB 5.5.x < 5.5.54 Multiple VulnerabilitiesNessusDatabases
high
96486MariaDB 10.0.x < 10.0.29 Multiple VulnerabilitiesNessusDatabases
high
9752MariaDB Server 10.0.x < 10.0.28 Multiple VulnerabilitiesNessus Network MonitorDatabase
high