Summary
Vulnerability in OpenSSH (CVE-2015-8325). Successful exploitation can lead to full system takeover.
Original description
The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
OpenSSHのsshdにおける脆弱性で、UseLogin機能とPAMが設定された状態で特定の環境変数を悪用することで、ローカルユーザーが特権を昇格させることが可能です。この脆弱性は、LD_PRELOAD環境変数を用いて悪用されることが示されています。
OpenSSHのsshdにおける環境設定の脆弱性
UseLogin機能が有効で、PAMがユーザーディレクトリ内の.pam_environmentファイルを読み込むよう設定されている場合
環境変数を悪用して特権を昇格させることが可能
OpenSSHを最新バージョンにアップデートし、関連するセキュリティパッチを適用する。
UseLogin機能を無効にし、PAMでの環境読み込みを制限する。
sshdの設定ファイルでUseLoginが有効か確認し、PAMの設定を点検する。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2015-8325 openssh Fixed in: 6.8_p1-r10
- Debian DEBIAN-CVE-2015-8325 openssh Fixed in: 1:7.2p2-3
- Ubuntu UBUNTU-CVE-2015-8325 openssh Fixed in: 1:6.6p1-2ubuntu2.7
References
- web rhn.redhat.com
- web rhn.redhat.com
- web debian.org
- web securityfocus.com
- web securitytracker.com
- web anongit.mindrot.org
- web bugzilla.redhat.com
- web cert-portal.siemens.com
- web people.canonical.com
- web security-tracker.debian.org
- web security.gentoo.org
- web security.netapp.com