NVD Vulnerability Detail
Search Exploit, PoC
CVE-2015-6564
Summary

Use-after-free vulnerability in the mm_answer_pam_free_ctx function in monitor.c in sshd in OpenSSH before 7.0 on non-OpenBSD platforms might allow local users to gain privileges by leveraging control of the sshd uid to send an unexpectedly early MONITOR_REQ_PAM_FREE_CTX request.

Publication Date Aug. 24, 2015, 10:59 a.m.
Registration Date Jan. 26, 2021, 2:54 p.m.
Last Update Nov. 21, 2024, 11:35 a.m.
CVSS2.0 : MEDIUM
Score 6.9
Vector AV:L/AC:M/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:openbsd:openssh:*:*:*:*:*:*:*:* 6.9
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
OpenBSD 以外のプラットフォーム上で稼動する OpenSSH の sshd の monitor.c 内の mm_answer_pam_free_ctx 関数における権限を取得される脆弱性
Title OpenBSD 以外のプラットフォーム上で稼動する OpenSSH の sshd の monitor.c 内の mm_answer_pam_free_ctx 関数における権限を取得される脆弱性
Summary

OpenBSD 以外のプラットフォーム上で稼動する OpenSSH の sshd の monitor.c 内の mm_answer_pam_free_ctx 関数には、解放済みメモリの使用 (Use-after-free) により、権限を取得される脆弱性が存在します。

Possible impacts ローカルユーザにより、想定外に早く MONITOR_REQ_PAM_FREE_CTX リクエストを送信する sshd の UID の制御を利用されることで、権限を取得される可能性があります。
Solution

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

Publication Date Aug. 11, 2015, midnight
Registration Date Aug. 28, 2015, 10:01 a.m.
Last Update Aug. 28, 2015, 10:01 a.m.
Affected System
OpenBSD
OpenSSH 7.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2015年08月28日]
  掲載
Feb. 17, 2018, 10:37 a.m.