CVE-2015-8325
high
CVSS v3
7.8
CVSS v2
7.2
VIR risk
7.8
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.
Predictions
Exploit likelihood
75%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-8325
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2015-8325.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | 7.0 | affected | |
| debian | 8.0 | affected | |
| ubuntu | 12.04 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 15.10 | affected | |
| debian | bookworm | fixed | 1:7.2p2-3 |
| debian | bullseye | fixed | 1:7.2p2-3 |
| debian | forky | fixed | 1:7.2p2-3 |
| debian | sid | fixed | 1:7.2p2-3 |
| debian | trixie | fixed | 1:7.2p2-3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| openbsd | openssh | {"endIncluding":"7.2"} | |
References
- https://www.suse.com/security/cve/CVE-2015-8325.html
- http://rhn.redhat.com/errata/RHSA-2016-2588.html
- http://rhn.redhat.com/errata/RHSA-2017-0641.html
- http://www.debian.org/security/2016/dsa-3550
- http://www.securityfocus.com/bid/86187
- http://www.securitytracker.com/id/1036487
- https://anongit.mindrot.org/openssh.git/commit/?id=85bdcd7c92fe7ff133bbc4e10a65c91810f88755
- https://bugzilla.redhat.com/show_bug.cgi?id=1328012
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-8325.html
- https://security-tracker.debian.org/tracker/CVE-2015-8325
- https://security.gentoo.org/glsa/201612-18
- https://security.netapp.com/advisory/ntap-20180628-0001/
CWEs
CWE-264 CWE-1262
Verify integrity in audit chain (admin only). AS-IS.