NVD Vulnerability Detail
Search Exploit, PoC
CVE-2016-6662
Summary

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.

Publication Date Sept. 21, 2016, 3:59 a.m.
Registration Date Jan. 26, 2021, 2:15 p.m.
Last Update Nov. 21, 2024, 11:56 a.m.
CVSS3.0 : CRITICAL
スコア 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : HIGH
Score 10.0
Vector AV:N/AC:L/Au:N/C:C/I:C/A:C
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.5.0 5.5.52
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.6.0 5.6.33
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.7.0 5.7.15
Configuration2 or higher or less more than less than
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* 5.5 5.5.51-38.1
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* 5.6 5.6.32-78.0
cpe:2.3:a:percona:percona_server:*:*:*:*:*:*:*:* 5.7 5.7.14-7
Configuration3 or higher or less more than less than
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.5.20 5.5.51
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.0.0 10.0.27
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.1.0 10.1.17
Configuration4 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Configuration5 or higher or less more than less than
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:5.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.3:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.3:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.3:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:9:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:8:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Oracle MySQL およびその他のデータベースにおける任意の構成を作成される脆弱性
Title Oracle MySQL およびその他のデータベースにおける任意の構成を作成される脆弱性
Summary

Oracle MySQL、MariaDB、Percona Server には、任意の構成を作成され、特定の保護メカニズムを回避される脆弱性が存在します。

Possible impacts ローカルユーザにより、my.cnf の設定に general_log_file を設定されることで、任意の構成を作成され、特定の保護メカニズムを回避される可能性があります。  また、この問題は、malloc_lib を設定されることで、root 権限での任意のコードの実行に悪用される可能性があります。 
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Aug. 10, 2016, midnight
Registration Date Sept. 26, 2016, 5:42 p.m.
Last Update Nov. 22, 2016, 4:02 p.m.
Affected System
オラクル
MySQL 5.5.52 まで
MySQL 5.6.33 までの 5.6.x
MySQL 5.7.15 までの 5.7.x
MariaDB Corporation Ab.
MariaDB 10.0.27 未満の 10.0.x
MariaDB 10.1.17 未満の 10.1.x
MariaDB 5.5.51 未満
Percona
Percona Server 5.5.51-38.1 未満
Percona Server 5.6.32-78.0 未満の 5.6.x
Percona Server 5.7.14-7 未満の 5.7.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2016年09月26日]
  掲載
[2016年11月22日]
  ベンダ情報:オラクル (Oracle Critical Patch Update Advisory - October 2016) を追加
  ベンダ情報:オラクル (Text Form of Oracle Critical Patch Update - October 2016 Risk Matrices) を追加
  ベンダ情報:オラクル (October 2016 Critical Patch Update Released) を追加
Feb. 17, 2018, 10:37 a.m.