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

The ssl_verify_server_cert function in sql-common/client.c in MariaDB before 5.5.47, 10.0.x before 10.0.23, and 10.1.x before 10.1.10; Oracle MySQL 5.5.48 and earlier, 5.6.29 and earlier, and 5.7.11 and earlier; and Percona Server do not properly verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via a "/CN=" string in a field in a certificate, as demonstrated by "/OU=/CN=bar.com/CN=foo.com."

Publication Date Jan. 28, 2016, 5:59 a.m.
Registration Date Jan. 26, 2021, 2:08 p.m.
Last Update Nov. 21, 2024, 11:47 a.m.
CVSS3.0 : MEDIUM
スコア 5.9
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
攻撃元区分(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:mariadb:mariadb:*:*:*:*:*:*:*:* 10.0.0 10.0.23
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 10.1.0 10.1.10
cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* 5.5.20 5.5.47
Configuration2 or higher or less more than less than
cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.6.0 5.6.29
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.7.0 5.7.11
cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:* 5.5.0 5.5.48
Configuration4 or higher or less more than less than
cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*
Configuration5 or higher or less more than less than
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
Configuration6 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Configuration7 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
MariaDB などの製品の sql-common/client.c の ssl_verify_server_cert 関数における SSL サーバになりすまされる脆弱性
Title MariaDB などの製品の sql-common/client.c の ssl_verify_server_cert 関数における SSL サーバになりすまされる脆弱性
Summary

MariaDB、Oracle MySQL、および Percona Server の sql-common/client.c の ssl_verify_server_cert 関数は、サーバのホスト名が X.509 証明書のサブジェクトの Common Name (CN) または subjectAltName フィールドのドメイン名と一致することを適切に検証しないため、SSL サーバになりすまされる脆弱性が存在します。 補足情報 : CWE による脆弱性タイプは、CWE-254: Security Features (セキュリティ機能) と識別されています。 http://cwe.mitre.org/data/definitions/254.html

Possible impacts 中間者攻撃 (man-in-the-middle attack) により、証明書のフィールドの "/CN=" 文字列を介して、SSL サーバになりすまされる可能性があります。
Solution

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

Publication Date Jan. 26, 2016, midnight
Registration Date Feb. 10, 2016, 12:32 p.m.
Last Update Dec. 9, 2016, 4:05 p.m.
Affected System
レッドハット
Red Hat Enterprise Linux Desktop (v. 7)
Red Hat Enterprise Linux HPC Node (v. 7)
Red Hat Enterprise Linux HPC Node EUS (v. 7.2)
Red Hat Enterprise Linux Server (v. 7)
Red Hat Enterprise Linux Server AUS (v. 7.2)
Red Hat Enterprise Linux Server EUS (v. 7.2)
Red Hat Enterprise Linux Workstation (v. 7)
Red Hat Software Collections 1 for RHEL
オラクル
MySQL 5.5.48 およびそれ以前
MySQL 5.6.29 およびそれ以前
MySQL 5.7.11 およびそれ以前
Oracle Linux 
openSUSE project
openSUSE Leap 
MariaDB Corporation Ab.
MariaDB 10.0.23 未満の 10.0.x
MariaDB 10.1.10 未満の 10.1.x
MariaDB 5.5.47 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2016年02月10日]
  掲載
[2016年05月31日]
  CVSS による深刻度:内容を更新
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:オラクル (Oracle Critical Patch Update CVSS V2 Risk Matrices - April 2016) を追加
  ベンダ情報:オラクル (Oracle Critical Patch Update Advisory - April 2016) を追加
  ベンダ情報:オラクル (Text Form of Oracle Critical Patch Update - April 2016 Risk Matrices) を追加
  ベンダ情報:オラクル (April 2016 Critical Patch Update Released) を追加
  ベンダ情報:レッドハット (RHSA-2016:0534) を追加
[2016年10月28日]
  影響を受けるシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:openSUSE project (openSUSE-SU-2016:1686) を追加
  ベンダ情報:オラクル (Oracle Linux Bulletin - April 2016) を追加
  ベンダ情報:レッドハット (RHSA-2016:0705) を追加
[2016年12月09日]
  影響を受けるシステム:内容を更新
  ベンダ情報:openSUSE project (openSUSE-SU-2016:1332) を追加
Feb. 17, 2018, 10:37 a.m.