CVE-2015-8325 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 loca...
HighCVSS 7.8
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/openssh(Alpine v3.2) | < 6.8_p1-r10 | 6.8_p1-r10 | Fixed |
| debian/openssh(Debian 12) | < 1:7.2p2-3 | 1:7.2p2-3 | Fixed |
| debian/openssh(Debian 13) | < 1:7.2p2-3 | 1:7.2p2-3 | Fixed |
| debian/openssh(Debian 14) | < 1:7.2p2-3 | 1:7.2p2-3 | Fixed |
| OpenBSD openssh | <= 7.2 | after 7.2 | Fixed |
| ubuntu/openssh(Ubuntu 14.04) | < 1:6.6p1-2ubuntu2.7; = 1:6.2p2-6; = 1:6.2p2-6ubuntu1; = 1:6.4p1-1 +14 more | 1:6.6p1-2ubuntu2.7 | Fixed |
| Canonical ubuntu core | = 15.04 | No fix listed | Versions listed |
| Canonical Ubuntu Linux | = 12.04; = 14.04; = 15.10 | No fix listed | Versions listed |
| Canonical ubuntu touch | = 15.04 | No fix listed | Versions listed |
| debian linux | = 7.0; = 8.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssh(Debian:12) | < 1:7.2p2-3 | 1:7.2p2-3 |
| debian/openssh(Debian:13) | < 1:7.2p2-3 | 1:7.2p2-3 |
| debian/openssh(Debian:14) | < 1:7.2p2-3 | 1:7.2p2-3 |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| OpenBSD openssh | <= 7.2 | No fix listed |
| Canonical ubuntu core | = 15.04 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 15.10 | No fix listed |
| Canonical ubuntu touch | = 15.04 | No fix listed |
| alpine/openssh(Alpine:v3.2) | < 6.8_p1-r10 | 6.8_p1-r10 |
| ubuntu/openssh(Ubuntu:14.04) | < 1:6.6p1-2ubuntu2.7 | 1:6.6p1-2ubuntu2.7 |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.2p2-6 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.2p2-6ubuntu1 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.4p1-1 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.4p1-2 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.5p1-1 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.5p1-2 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.5p1-3 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.5p1-4 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.5p1-6 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-1 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2ubuntu1 | No fix listed |
Show 5 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2ubuntu2 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2ubuntu2.2 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2ubuntu2.3 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2ubuntu2.4 | No fix listed |
| ubuntu/openssh(Ubuntu:14.04) | = 1:6.6p1-2ubuntu2.6 | No fix listed |
References
- Debian Security Tracker CVE-2015-8325 vendor-advisory
- RHSA-2016:2588 vendor-advisory
- RHSA-2017:0641 vendor-advisory
- DSA-3550 vendor-advisory
- 86187 vdb-entry
- 1036487 vdb-entry
- anongit.mindrot.org
- bugzilla.redhat.com
- cert-portal.siemens.com
- people.canonical.com
- GLSA-201612-18 vendor-advisory
- security.netapp.com
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking