CVE-2016-6664

Exp

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.

公開: 2016-12-13 最終更新: 2026-05-06 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2016-6664 は悪用リスクが高い(73.6/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 62.12%、98 パーセンタイル) 根拠: 公開エクスプロイトが 4 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2016-6664 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
40679 exploit_db edb 2016-11-01 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

CVE-2016-6664 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-05-26 65.91% 62.12% -3.79%
2 2026-05-24 62.12% 65.91% +3.79%
3 2026-05-22 62.12%

EPSS の全履歴 (全 30 件)

CVE-2016-6664 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.0 3.1 HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.0 5.9 [email protected]
6.9 2.0 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C クリックして展開
アクセス経路 (AV:L)
対象ホストにログインするなど、ローカルからの操作が前提。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:C)
機密性は全面的に損なわれる。
完全性への影響 (I:C)
完全性は全面的に損なわれる。
可用性への影響 (A:C)
可用性は全面的に損なわれる。
3.4 10.0 [email protected]

CVE-2016-6664 の弱点分類(列挙)

CVE-2016-6664 の OS トラッカー

vendor priority summary link
alpine CVE-2016-6664: 1 source package rows (mariadb); 10 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 0. https://security.alpinelinux.org/vuln/CVE-2016-6664
gentoo high CVE-2016-6664: 1 GLSA(s) (201702-18), 1 atom(s) (dev-db/mariadb); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-6664
redhat medium https://access.redhat.com/security/cve/CVE-2016-6664
suse high CVE-2016-6664 severity important: SUSE including 176 source package names (4.0.0:libmysqlclient18-10.0.29-22.1, beta1:libmysqlclient18-10.0.29-22.1, …), 407 product×package rows across 62 product lines (Container caasp/v4/salt-master, Container caasp/v4/velum, … (62 product lines)): Fixed 313, Known Not Affected 94. https://www.suse.com/security/cve/CVE-2016-6664/
ubuntu medium CVE-2016-6664 medium priority: Ubuntu including 4 source packages (mariadb-10.0, mysql-5.5, mysql-5.6, mysql-5.7), 21 status rows across 6 suites (precise, trusty, upstream, vivid, xenial, yakkety): DNE 11, released 8, not-affected 2. https://ubuntu.com/security/CVE-2016-6664

CVE-2016-6664 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
oracle mysql >= 5.5.0, <= 5.5.51 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle mysql >= 5.6.0, <= 5.6.32 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle mysql >= 5.7.0, <= 5.7.14 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
mariadb mariadb >= 5.5.0, < 5.5.54 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.0.0, < 10.0.29 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.1.0, < 10.1.21 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
percona percona_server >= 5.5, < 5.5.51-38.2 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona percona_server >= 5.6, < 5.6.32-78.1 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona percona_server >= 5.7, < 5.7.14-8 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona xtradb_cluster >= 5.5, < 5.5.41-37.0 cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
percona xtradb_cluster >= 5.6, < 5.6.32-25.17 cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*
percona xtradb_cluster >= 5.7, < 5.7.14-26.17 cpe:2.3:a:percona:xtradb_cluster:*:*:*:*:*:*:*:*

CVE-2016-6664 の参考情報

URL タグ
http://legalhackers.com/advisories/MySQL-Maria-Percona-RootPrivEsc-CVE-2016-6664-5617-Exploit.html Exploit Third Party Advisory
http://packetstormsecurity.com/files/139491/MySQL-MariaDB-PerconaDB-Root-Privilege-Escalation.html Exploit Third Party Advisory VDB Entry
http://rhn.redhat.com/errata/RHSA-2016-2130.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html Third Party Advisory
http://seclists.org/fulldisclosure/2016/Nov/4 Mailing List Third Party Advisory
http://www.debian.org/security/2017/dsa-3770 Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html Patch Vendor Advisory
http://www.securityfocus.com/archive/1/539695/100/0/threaded Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/93612 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:2192 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0279 Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0574 Third Party Advisory
https://security.gentoo.org/glsa/201702-18 Third Party Advisory
https://www.exploit-db.com/exploits/40679/ Exploit Third Party Advisory VDB Entry
https://www.percona.com/blog/2016/11/02/percona-responds-to-cve-2016-6663-and-cve-2016-6664/ Vendor Advisory
cvelogic Threat Intelligence