Incorrect Authorization Affecting openssh-server package, versions <0:6.6.1p1-31.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-OPENSSHSERVER-4653289
  • published26 Jul 2021
  • disclosed13 Apr 2016

Introduced: 13 Apr 2016

CVE-2015-8325  (opens in a new tab)
CWE-863  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade RHEL:7 openssh-server to version 0:6.6.1p1-31.el7 or higher.
This issue was patched in RHSA-2016:2588.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-server package and not the openssh-server package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.