製品・ソフトウェアに関する情報
OpenSSH の sshd の session.c 内の do_setup_env 関数における権限を取得される脆弱性
Title OpenSSH の sshd の session.c 内の do_setup_env 関数における権限を取得される脆弱性
Summary

OpenSSH の sshd の session.c 内の do_setup_env 関数には、UseLogin 機能が有効になっている、および PAM がユーザのホームディレクトリ内に .pam_environment ファイルを読み込む設定をされている場合、権限を取得される脆弱性が存在します。

Possible impacts ローカルユーザにより、/bin/login プログラム用の巧妙に細工された環境を誘発されることで、権限を取得される可能性があります。
Solution

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

Publication Date Nov. 24, 2015, midnight
Registration Date May 10, 2016, 10:26 a.m.
Last Update Sept. 1, 2016, 5:10 p.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
Affected System
OpenBSD
OpenSSH 7.2p2 まで
Debian
Debian GNU/Linux 7.0
Debian GNU/Linux 8.0
Canonical
Ubuntu 12.04 LTS
Ubuntu 14.04 LTS
Ubuntu 15.10
Ubuntu Core 15.04
Ubuntu Touch 15.04
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年05月10日]
  掲載
[2016年09月01日]
  ベンダ情報:ターボリナックス (TLSA-2016-20) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2015-8325
Summary

The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the UseLogin feature is enabled and PAM is configured to read .pam_environment files in user home directories, allows local users to gain privileges by triggering a crafted environment for the /bin/login program, as demonstrated by an LD_PRELOAD environment variable.

Publication Date May 1, 2016, 10:59 a.m.
Registration Date Jan. 26, 2021, 2:58 p.m.
Last Update Nov. 21, 2024, 11:38 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:openbsd:openssh:*:p2:*:*:*:*:*:* 7.2
Configuration3 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_touch:15.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_core:15.04:*:*:*:*:*:*:*
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