Description
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.
References (12)
Core 12
Core References
Third Party Advisory
https://security-tracker.debian.org/tracker/CVE-2015-8325
Third Party Advisory, VDB Entry vdb-entry
http://www.securityfocus.com/bid/86187
Third Party Advisory vendor-advisory
http://www.debian.org/security/2016/dsa-3550
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1328012
Vendor Advisory vendor-advisory
http://rhn.redhat.com/errata/RHSA-2017-0641.html
Vendor Advisory vendor-advisory
http://rhn.redhat.com/errata/RHSA-2016-2588.html
Third Party Advisory, VDB Entry vdb-entry
http://www.securitytracker.com/id/1036487
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/201612-18
Vendor Advisory
https://security.netapp.com/advisory/ntap-20180628-0001/
Vendor Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
Scores
CVSS v3
7.8
EPSS
0.0006
EPSS Percentile
17.2%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-264
Status
published
Products (8)
canonical/ubuntu_core
15.04
canonical/ubuntu_linux
12.04
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
15.10
canonical/ubuntu_touch
15.04
debian/debian_linux
7.0
debian/debian_linux
8.0
openbsd/openssh
< 7.2
Published
May 01, 2016
Tracked Since
Feb 18, 2026