7.0high

CVE-2016-66641 exploit

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…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.0
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
3.0%
percentile 87%
Public exploits
1
Exploit-DB

Summary

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.

Exploit prediction (EPSS)

2.97% probability of exploitation in the next 30 days, higher than 87% of all scored CVEs.

Exploits and detections

  • EDB-40679 MySQL / MariaDB / PerconaDB 5.5.x/5.6.x/5.7.x - 'root' System User Privilege Escalation · local · 2016-11-01

CVSS scores

Assigned byVersionScoreVector
NVD3.17.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD2.06.9AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access
Technology feeds
MySQL (RSS, critical only) · MariaDB (RSS, critical only)

References

  • rhn.redhat.com /errata/RHSA-2016-2749.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • seclists.org /fulldisclosure/2016/Nov/4 · mailing-list, x_refsource_FULLDISC, x_transferred
  • securityfocus.com /bid/93612 · vdb-entry, x_refsource_BID, x_transferred
  • percona.com /blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ · x_refsource_CONFIRM, x_transferred
  • access.redhat.com /errata/RHSA-2018:0574 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • security.gentoo.org /glsa/201702-18 · vendor-advisory, x_refsource_GENTOO, x_transferred
  • oracle.com /technetwork/security-advisory/cpuoct2016-2881722.html · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /archive/1/539695/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
  • rhn.redhat.com /errata/RHSA-2016-2130.html · vendor-advisory, x_refsource_REDHAT, x_transferred
  • packetstormsecurity.com /files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html · x_refsource_MISC, x_transferred
  • exploit-db.com /exploits/40679/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • legalhackers.com /advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html · x_refsource_MISC, x_transferred
  • access.redhat.com /errata/RHSA-2018:0279 · vendor-advisory, x_refsource_REDHAT, x_transferred
  • debian.org /security/2017/dsa-3770 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • access.redhat.com /errata/RHSA-2017:2192 · vendor-advisory, x_refsource_REDHAT, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.