CVE-2016-6662

Exp

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.

公開: 2016-09-20 最後更新: 2026-06-16 指派方: [email protected] 來源: [email protected]

結論預警: CVE-2016-6662 綜合評估為高可利用風險(83.9/100):CVSS 技術影響為嚴重級,利用機率偏高(EPSS 67.73%,百分位 99%) 核心證據: 已收錄 2 筆公開利用參考(Exploit-DB)。 強制指令: 存在公開利用—請盤點暴露面、落實緩解措施並優先修補。

風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。

CVE-2016-6662 的公開 exploit 引用(Exploit-DB)

EDB-ID 來源 類型 公開時間 連結
40360 exploit_db edb 2016-09-12 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

CVE-2016-6662 的 EPSS(利用預測評分)

EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。

# 日期 舊 EPSS 分數 新 EPSS 分數 變化(新 − 舊)
1 2026-06-15 89.58% 67.73% -21.85%
2 2026-03-04 88.94% 89.58% +0.63%
3 2026-03-02 88.94%

完整 EPSS 歷史 (共 44 筆)

CVE-2016-6662 的 CVSS 指標

該 CVE 的 CVSS 指標。

底座分 版本 嚴重度 向量 可利用性 影響 分數來源
9.8 3.0 CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 點擊展開
攻擊向量 (AV:N)
可經網際網路或企業內可路由網段從遠端觸達,攻擊者不必在裝置旁邊。
攻擊複雜度 (AC:L)
前置條件清楚,成功路徑穩定,不必仰賴罕見競態或極端環境。
權限需求 (PR:N)
不必事先登入或提權,匿名工作階段也可能成為跳板。
使用者互動 (UI:N)
不必受害者點連結、放行巨集或安裝軟體,攻擊鏈可自動走完。
作用域 (S:U)
破壞局限在脆弱元件原本的安全權限與信任域之內。
機密性影響 (C:H)
大量讀取、匯出或長期潛伏竊取機敏資料,在實務上成立。
完整性影響 (I:H)
可竄改稽核紀錄、植入後門或大面積偽造業務資料,動搖信任根基。
可用性影響 (A:H)
可造成長時間中斷、關鍵交易無法完成,或伴隨資料毀損導致難以自癒。
3.9 5.9 [email protected]
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C 點擊展開
存取路徑 (AV:N)
只要路由可達,即可從遠端發動利用。
存取複雜度 (AC:L)
步驟短、路徑清楚,重現成本低。
認證 (AU:N)
全程無需有效身分。
機密性影響 (C:C)
機密性被完全破壞。
完整性影響 (I:C)
完整性被完全破壞。
可用性影響 (A:C)
可用性被完全破壞。
10.0 10.0 [email protected]

CVE-2016-6662 的弱點列舉

CVE-2016-6662 的 OS 追蹤

vendor priority summary link
gentoo normal CVE-2016-6662: 1 GLSA(s) (201701-01), 2 atom(s) (dev-db/mariadb, dev-db/mysql); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-6662
redhat high https://access.redhat.com/security/cve/CVE-2016-6662
suse high CVE-2016-6662 severity important: SUSE including 182 source package names (4.0.0:libmysqlclient18-10.0.27-12.1, beta1:libmysqlclient18-10.0.27-12.1, …), 509 product×package rows across 83 product lines (Container caasp/v4/salt-master, Container caasp/v4/velum, … (83 product lines)): Fixed 362, Known Not Affected 147. https://www.suse.com/security/cve/CVE-2016-6662/
ubuntu medium CVE-2016-6662 medium priority: Ubuntu including 9 source packages (mariadb-10.0, mariadb-5.5, …), 203 status rows across 24 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, precise, questing, trusty, upstream, vivid, xenial, yakkety, zesty): DNE 162, released 19, not-affected 13, needs-triage 5, ignored 3, needed 1. https://ubuntu.com/security/CVE-2016-6662

CVE-2016-6662 的影響軟體 / 設定

廠商 產品 版本 原始 CPE
oracle mysql >= 5.5.0, <= 5.5.52 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle mysql >= 5.6.0, <= 5.6.33 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
oracle mysql >= 5.7.0, <= 5.7.15 cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*
percona percona_server >= 5.5, < 5.5.51-38.1 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona percona_server >= 5.6, < 5.6.32-78.0 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
percona percona_server >= 5.7, < 5.7.14-7 cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:*
mariadb mariadb >= 5.5.20, < 5.5.51 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.0.0, < 10.0.27 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
mariadb mariadb >= 10.1.0, < 10.1.17 cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
redhat openstack 5.0 cpe:2.3:a:redhat:openstack:5.0:*:*:*:*:*:*:*
redhat openstack 6.0 cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*
redhat openstack 7.0 cpe:2.3:a:redhat:openstack:7.0:*:*:*:*:*:*:*
redhat openstack 8 cpe:2.3:a:redhat:openstack:8:*:*:*:*:*:*:*
redhat openstack 9 cpe:2.3:a:redhat:openstack:9:*:*:*:*:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 6.0 cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server 6.0 cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.3 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.4 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
redhat enterprise_linux_server_aus 7.6 cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.3 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.4 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.5 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.6 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 7.3 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
redhat enterprise_linux_server_tus 7.6 cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 6.0 cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*

CVE-2016-6662 的參考連結

URL 標籤
http://legalhackers.com/advisories/MySQL-Exploit-Remote-Root-Code-Execution-Privesc-CVE-2016-6662.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2058.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2059.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2060.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2061.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2062.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2077.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2130.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2131.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2595.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2749.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2927.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2928.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2017-0184.html Third Party Advisory
http://seclists.org/fulldisclosure/2016/Sep/23 Mailing List Third Party Advisory
http://www.debian.org/security/2016/dsa-3666 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/12/3 Mailing List Third Party Advisory
http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html Patch Vendor Advisory
http://www.securityfocus.com/bid/92912 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1036769 Third Party Advisory VDB Entry
https://jira.mariadb.org/browse/MDEV-10465 Issue Tracking Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10027-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-10117-release-notes/ Release Notes Vendor Advisory
https://mariadb.com/kb/en/mariadb/mariadb-5551-release-notes/ Release Notes Vendor Advisory
https://security.gentoo.org/glsa/201701-01 Third Party Advisory
https://www.exploit-db.com/exploits/40360/ Exploit Third Party Advisory VDB Entry
https://www.percona.com/blog/2016/09/12/percona-server-critical-update-cve-2016-6662/ Third Party Advisory
cvelogic Threat Intelligence