ID |
CVE-2015-8325
|
Summary |
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. |
References |
|
Vulnerable Configurations |
-
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
-
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:2.1.1:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:2.1.1:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:2.5.1:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:2.5.1:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:2.5.2:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:2.5.2:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:2.9:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:2.9:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:2.9.9:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:2.9.9:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:3.6.1:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:3.6.1:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:3.7.1:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:3.7.1:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:4.3:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:4.3:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:5.8:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:5.8:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:6.2:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:6.2:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:7.1:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:7.1:p2:*:*:*:*:*:*
-
cpe:2.3:a:openbsd:openssh:7.2:p2:*:*:*:*:*:*
cpe:2.3:a:openbsd:openssh:7.2:p2:*:*:*:*:*:*
-
cpe:2.3:o:canonical:ubuntu_touch:15.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_touch:15.04:*:*:*:*:*:*:*
-
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
-
cpe:2.3:o:canonical:ubuntu_core:15.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_core:15.04:*:*:*:*:*:*:*
-
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
-
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
|
CVSS |
Base: | 7.2 (as of 13-12-2022 - 12:15) |
Impact: | |
Exploitability: | |
|
CWE |
CWE-264 |
CAPEC |
-
Manipulating Web Input to File System Calls
An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
-
Leverage Executable Code in Non-Executable Files
An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
-
Using Malicious Files
An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
-
Target Programs with Elevated Privileges
This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
-
Restful Privilege Elevation
Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
|
Access |
Vector | Complexity | Authentication |
LOCAL |
LOW |
NONE |
|
Impact |
Confidentiality | Integrity | Availability |
COMPLETE |
COMPLETE |
COMPLETE |
|
cvss-vector
via4
|
AV:L/AC:L/Au:N/C:C/I:C/A:C
|
redhat
via4
|
advisories | bugzilla | id | 1373297 | title | openssh can't be installed without selinux-policy |
| oval | OR | comment | Red Hat Enterprise Linux must be installed | oval | oval:com.redhat.rhba:tst:20070304026 |
AND | comment | Red Hat Enterprise Linux 7 is installed | oval | oval:com.redhat.rhba:tst:20150364027 |
OR | AND | comment | openssh is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588001 |
comment | openssh is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884002 |
|
AND | comment | openssh-askpass is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588003 |
comment | openssh-askpass is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884004 |
|
AND | comment | openssh-clients is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588005 |
comment | openssh-clients is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884006 |
|
AND | comment | openssh-keycat is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588007 |
comment | openssh-keycat is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20150425008 |
|
AND | comment | openssh-ldap is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588009 |
comment | openssh-ldap is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884008 |
|
AND | comment | openssh-server is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588011 |
comment | openssh-server is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884010 |
|
AND | comment | openssh-server-sysvinit is earlier than 0:6.6.1p1-31.el7 | oval | oval:com.redhat.rhsa:tst:20162588013 |
comment | openssh-server-sysvinit is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20150425014 |
|
AND | comment | pam_ssh_agent_auth is earlier than 0:0.9.3-9.31.el7 | oval | oval:com.redhat.rhsa:tst:20162588015 |
comment | pam_ssh_agent_auth is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884012 |
|
|
|
|
| rhsa | id | RHSA-2016:2588 | released | 2016-11-03 | severity | Moderate | title | RHSA-2016:2588: openssh security, bug fix, and enhancement update (Moderate) |
|
bugzilla | id | 1397547 | title | SSH does not use the ibmca crypto hardware |
| oval | OR | comment | Red Hat Enterprise Linux must be installed | oval | oval:com.redhat.rhba:tst:20070304026 |
AND | comment | Red Hat Enterprise Linux 6 is installed | oval | oval:com.redhat.rhba:tst:20111656003 |
OR | AND | comment | openssh is earlier than 0:5.3p1-122.el6 | oval | oval:com.redhat.rhsa:tst:20170641001 |
comment | openssh is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884002 |
|
AND | comment | openssh-askpass is earlier than 0:5.3p1-122.el6 | oval | oval:com.redhat.rhsa:tst:20170641003 |
comment | openssh-askpass is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884004 |
|
AND | comment | openssh-clients is earlier than 0:5.3p1-122.el6 | oval | oval:com.redhat.rhsa:tst:20170641005 |
comment | openssh-clients is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884006 |
|
AND | comment | openssh-ldap is earlier than 0:5.3p1-122.el6 | oval | oval:com.redhat.rhsa:tst:20170641007 |
comment | openssh-ldap is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884008 |
|
AND | comment | openssh-server is earlier than 0:5.3p1-122.el6 | oval | oval:com.redhat.rhsa:tst:20170641009 |
comment | openssh-server is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884010 |
|
AND | comment | pam_ssh_agent_auth is earlier than 0:0.9.3-122.el6 | oval | oval:com.redhat.rhsa:tst:20170641011 |
comment | pam_ssh_agent_auth is signed with Red Hat redhatrelease2 key | oval | oval:com.redhat.rhsa:tst:20120884012 |
|
|
|
|
| rhsa | id | RHSA-2017:0641 | released | 2017-03-21 | severity | Moderate | title | RHSA-2017:0641: openssh security and bug fix update (Moderate) |
|
| rpms | - openssh-0:6.6.1p1-31.el7
- openssh-askpass-0:6.6.1p1-31.el7
- openssh-clients-0:6.6.1p1-31.el7
- openssh-debuginfo-0:6.6.1p1-31.el7
- openssh-keycat-0:6.6.1p1-31.el7
- openssh-ldap-0:6.6.1p1-31.el7
- openssh-server-0:6.6.1p1-31.el7
- openssh-server-sysvinit-0:6.6.1p1-31.el7
- pam_ssh_agent_auth-0:0.9.3-9.31.el7
- openssh-0:5.3p1-122.el6
- openssh-askpass-0:5.3p1-122.el6
- openssh-clients-0:5.3p1-122.el6
- openssh-debuginfo-0:5.3p1-122.el6
- openssh-ldap-0:5.3p1-122.el6
- openssh-server-0:5.3p1-122.el6
- pam_ssh_agent_auth-0:0.9.3-122.el6
|
|
refmap
via4
|
bid | 86187 | confirm | | debian | DSA-3550 | gentoo | GLSA-201612-18 | sectrack | 1036487 |
|
Last major update |
13-12-2022 - 12:15 |
Published |
01-05-2016 - 01:59 |
Last modified |
13-12-2022 - 12:15 |