CVEvulnerability

CVE-2015-8325

7.8 HIGH Published 2016-05-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2016-05-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
Weaknesses
CWE-1262, CWE-264

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.

Affected configurations

• debian debian linux 7.0 • debian debian linux 8.0 • openbsd openssh (<= 7.2) • 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

Related

Weakness · not in database (1)

Weakness · CWE (1)

  • CWE-1262 Improper Access Control for Register Interface weakness

References