Access Restriction Bypass Affecting pam_ssh_agent_auth package, versions <0:0.9.3-9.31.el7


Severity

Recommended
medium

Based on Oracle 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 IDSNYK-ORACLE7-PAMSSHAGENTAUTH-2508870
  • published10 Apr 2022
  • disclosed1 May 2016

Introduced: 1 May 2016

CVE-2015-8325  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Oracle:7 pam_ssh_agent_auth to version 0:0.9.3-9.31.el7 or higher.
This issue was patched in ELSA-2016-2588.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_ssh_agent_auth package and not the pam_ssh_agent_auth package as distributed by Oracle. See How to fix? for Oracle: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.